Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9177/0.9177, allocations: 173.4 MB / 200.5 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 318.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.176e-05, allocations: 5.516 kB / 318.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002407/0.002428, allocations: 1.848 MB / 320.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003704, allocations: 1.024 MB / 321.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.003833, allocations: 11.88 kB / 321.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.004347, allocations: 151.5 kB / 321.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.004553, allocations: 123.5 kB / 321.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.004916, allocations: 214.3 kB / 321.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.0051, allocations: 187.4 kB / 322 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.005199, allocations: 25.78 kB / 322 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.005309, allocations: 99.66 kB / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.005394, allocations: 63.81 kB / 322.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.005414, allocations: 8 kB / 322.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.005516, allocations: 63.88 kB / 322.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.00557, allocations: 43.84 kB / 322.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.005616, allocations: 35.86 kB / 322.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.005866, allocations: 199.4 kB / 322.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005869, allocations: 0 / 322.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00587, allocations: 0 / 322.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005875, allocations: 0 / 322.5 MB, free: 2.293 MB / 282.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.0005551/0.00643, allocations: 454.7 kB / 322.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.006465, allocations: 12.92 kB / 323 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.006496, allocations: 34.75 kB / 323 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.006536, allocations: 24.83 kB / 323 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.006784, allocations: 204.8 kB / 323.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.006799, allocations: 8.375 kB / 323.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.00681, allocations: 4.375 kB / 323.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.00704, allocations: 150.1 kB / 323.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.007049, allocations: 0 / 323.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.007059, allocations: 3.984 kB / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.007064, allocations: 0 / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.007132, allocations: 35.98 kB / 323.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.007475, allocations: 321.4 kB / 323.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.007617, allocations: 103.9 kB / 323.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.007668, allocations: 50.56 kB / 323.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.007693, allocations: 0 / 323.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.007803, allocations: 79.31 kB / 324 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.007804, allocations: 0 / 324 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002371/0.008041, allocations: 137.5 kB / 324.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.008094, allocations: 114.8 kB / 324.2 MB, free: 380 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.008274, allocations: 266 kB / 324.5 MB, free: 108 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.008288, allocations: 33.7 kB / 324.5 MB, free: 68 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.008359, allocations: 112.1 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.008379, allocations: 23.95 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.008411, allocations: 21.72 kB / 324.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003783/0.008789, allocations: 330.8 kB / 325 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.008822, allocations: 27.92 kB / 325 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/0.008869, allocations: 64.27 kB / 325.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.00893, allocations: 57.95 kB / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008931, allocations: 0 / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.671e-05/0.009028, allocations: 105.5 kB / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.009035, allocations: 4 kB / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.009039, allocations: 4 kB / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.009045, allocations: 0 / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/0.009082, allocations: 8 kB / 325.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009086, allocations: 3.938 kB / 325.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.009117, allocations: 15.92 kB / 325.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.009122, allocations: 4 kB / 325.3 MB, free: 15.25 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 7.61e-05/0.009198, allocations: 137.8 kB / 325.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.009243, allocations: 65.58 kB / 325.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.009368, allocations: 119.5 kB / 325.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.009373, allocations: 7.969 kB / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.009376, allocations: 4 kB / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.009378, allocations: 0 / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.00949, allocations: 188.6 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009492, allocations: 4 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.009506, allocations: 4 kB / 325.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.009508, allocations: 0 / 325.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-06/0.009517, allocations: 4 kB / 325.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009518, allocations: 4.062 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.00952, allocations: 7.922 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.009653, allocations: 158.6 kB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.009696, allocations: 35.84 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.009715, allocations: 3.984 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.009744, allocations: 8.062 kB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.009778, allocations: 11.98 kB / 326 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.00979, allocations: 4 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.009909, allocations: 197.2 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009909, allocations: 4 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.01007, allocations: 27.94 kB / 326.2 MB, free: 14.19 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.0009928/0.01106, allocations: 1.03 MB / 327.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.01119, allocations: 63.91 kB / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01119, allocations: 0 / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.01123, allocations: 27.97 kB / 327.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01148, allocations: 75.39 kB / 327.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.0129, allocations: 1.875 MB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/0.01298, allocations: 119.4 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.01303, allocations: 25.72 kB / 329.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.01309, allocations: 52.48 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.01309, allocations: 0 / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.03533, allocations: 5.368 MB / 334.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/6.824, allocations: 13.86 kB / 334.9 MB, free: 5.641 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.597421457059681]