Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008279/0.0008279, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8767/0.8767, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.012e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002474/0.002494, allocations: 1.891 MB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.003886, allocations: 1.161 MB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.004014, allocations: 11.94 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.004546, allocations: 155.4 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.004839, allocations: 159.3 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.005212, allocations: 180.4 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.005408, allocations: 199.4 kB / 328.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.005493, allocations: 13.81 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.00561, allocations: 107.7 kB / 328.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.005701, allocations: 63.8 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.005721, allocations: 12 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.005834, allocations: 59.89 kB / 328.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.005895, allocations: 43.84 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.005942, allocations: 39.84 kB / 328.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.006191, allocations: 211.2 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006193, allocations: 0 / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006194, allocations: 0 / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.006198, allocations: 8 kB / 328.9 MB, free: 11.63 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005178/0.006716, allocations: 446 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.006752, allocations: 12.03 kB / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.00678, allocations: 38.73 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.00682, allocations: 24.8 kB / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.007053, allocations: 204.8 kB / 329.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.007064, allocations: 4.375 kB / 329.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.007077, allocations: 12.36 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.007309, allocations: 154.1 kB / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.007316, allocations: 0 / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.007324, allocations: 0 / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.00733, allocations: 7.984 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.007395, allocations: 35.92 kB / 329.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.00773, allocations: 321.5 kB / 330.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.007873, allocations: 111.9 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.007922, allocations: 42.5 kB / 330.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.007938, allocations: 4 kB / 330.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.008044, allocations: 67.39 kB / 330.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.008045, allocations: 0 / 330.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002375/0.008283, allocations: 161.3 kB / 330.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.008333, allocations: 107.1 kB / 330.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.008521, allocations: 273.9 kB / 330.8 MB, free: 9.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.008534, allocations: 29.7 kB / 330.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.00859, allocations: 116.1 kB / 331 MB, free: 9.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.00861, allocations: 23.83 kB / 331 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.008643, allocations: 25.67 kB / 331 MB, free: 9.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.008722, allocations: 334.8 kB / 331.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.008755, allocations: 16 kB / 331.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.008813, allocations: 72.33 kB / 331.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.008881, allocations: 61.89 kB / 331.5 MB, free: 8.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008883, allocations: 4.031 kB / 331.5 MB, free: 8.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001022/0.008985, allocations: 93.58 kB / 331.6 MB, free: 8.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.008997, allocations: 8 kB / 331.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.009001, allocations: 0 / 331.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.00901, allocations: 3.938 kB / 331.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.009058, allocations: 8 kB / 331.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.009063, allocations: 3.984 kB / 331.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.009094, allocations: 4 kB / 331.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.0091, allocations: 4 kB / 331.6 MB, free: 8.578 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.009183, allocations: 146.8 kB / 331.8 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.009232, allocations: 65.48 kB / 331.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.009373, allocations: 119.4 kB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.009375, allocations: 4 kB / 332 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009379, allocations: 0 / 332 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.009382, allocations: 0 / 332 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.00951, allocations: 188.6 kB / 332.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.009511, allocations: 0 / 332.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.009531, allocations: 15.92 kB / 332.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009532, allocations: 64 / 332.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.00954, allocations: 8 kB / 332.2 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.009542, allocations: 7.938 kB / 332.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009543, allocations: 0 / 332.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.009692, allocations: 166.5 kB / 332.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.00974, allocations: 31.84 kB / 332.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.009756, allocations: 64 / 332.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.009788, allocations: 15.94 kB / 332.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.009816, allocations: 7.984 kB / 332.4 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.009828, allocations: 4 kB / 332.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.009947, allocations: 201.2 kB / 332.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009947, allocations: 4 kB / 332.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.01011, allocations: 35.92 kB / 332.6 MB, free: 7.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.01119, allocations: 1.037 MB / 333.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.01132, allocations: 59.91 kB / 333.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01132, allocations: 4 kB / 333.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.01142, allocations: 23.94 kB / 333.7 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01166, allocations: 67.09 kB / 333.8 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.01312, allocations: 1.919 MB / 335.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.862e-05/0.01319, allocations: 111.4 kB / 335.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.01324, allocations: 29.8 kB / 335.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.0133, allocations: 48.48 kB / 335.9 MB, free: 4.23 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0133, allocations: 4 kB / 335.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.02943, allocations: 5.46 MB / 341.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/6.797, allocations: 15.42 kB / 341.4 MB, free: 14.82 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.459945407696068]