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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 112.8 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 43.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3476, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004543/0.3522, allocations: 1.878 MB / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3546, allocations: 1.075 MB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.3549, allocations: 3.938 kB / 403.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008037/0.3557, allocations: 151.5 kB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.3563, allocations: 115.5 kB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.3571, allocations: 208.5 kB / 403.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.3575, allocations: 183.6 kB / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3577, allocations: 21.56 kB / 403.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3579, allocations: 79.56 kB / 403.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.3581, allocations: 71.69 kB / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.3581, allocations: 8 kB / 404 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.3583, allocations: 59.97 kB / 404.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.3584, allocations: 43.78 kB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.973e-05/0.3585, allocations: 71.53 kB / 404.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.3589, allocations: 212.9 kB / 404.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.359, allocations: 0 / 404.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.359, allocations: 0 / 404.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.359, allocations: 3.984 kB / 404.4 MB, free: 4.652 MB / 318.1 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.0009935/0.36, allocations: 0.5001 MB / 404.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.36, allocations: 12.02 kB / 404.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.3601, allocations: 38.75 kB / 404.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.3602, allocations: 28.59 kB / 405 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.3607, allocations: 266.9 kB / 405.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3607, allocations: 384 / 405.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3607, allocations: 7.938 kB / 405.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.3611, allocations: 150.7 kB / 405.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3611, allocations: 0 / 405.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3612, allocations: 4 kB / 405.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3612, allocations: 4 kB / 405.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3613, allocations: 31.97 kB / 405.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.3619, allocations: 362.3 kB / 405.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.3622, allocations: 111.9 kB / 405.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3623, allocations: 42.56 kB / 405.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.3624, allocations: 7.984 kB / 405.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.3626, allocations: 79.33 kB / 406 MB, free: 2.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.3626, allocations: 0 / 406 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004028/0.363, allocations: 137.4 kB / 406.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.3631, allocations: 140.5 kB / 406.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.3634, allocations: 260.9 kB / 406.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3634, allocations: 33.64 kB / 406.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.3635, allocations: 120 kB / 406.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.3635, allocations: 11.97 kB / 406.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.3636, allocations: 37.86 kB / 406.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3638, allocations: 326.8 kB / 407.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.3638, allocations: 23.98 kB / 407.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.3639, allocations: 69.94 kB / 407.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3641, allocations: 76.25 kB / 407.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3641, allocations: 4 kB / 407.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002255/0.3643, allocations: 113.4 kB / 407.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3644, allocations: 4 kB / 407.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3644, allocations: 4 kB / 407.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3644, allocations: 4.125 kB / 407.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.3645, allocations: 12 kB / 407.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3645, allocations: 0 / 407.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.3646, allocations: 15.86 kB / 407.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3646, allocations: 8 kB / 407.4 MB, free: 1.305 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001445/0.3648, allocations: 145.7 kB / 407.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-05/0.3649, allocations: 65.36 kB / 407.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.3649, allocations: 21.77 kB / 407.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.365, allocations: 4 kB / 407.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.365, allocations: 4 kB / 407.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.365, allocations: 3.938 kB / 407.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3652, allocations: 221.9 kB / 407.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3652, allocations: 0 / 407.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.3652, allocations: 12 kB / 407.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3653, allocations: 4 kB / 407.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3653, allocations: 0 / 407.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3653, allocations: 0 / 407.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3653, allocations: 4 kB / 407.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3656, allocations: 158.5 kB / 408 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3657, allocations: 108.8 kB / 408.1 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.3657, allocations: 4 kB / 408.1 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.3658, allocations: 11.98 kB / 408.1 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3659, allocations: 7.938 kB / 408.1 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3659, allocations: 4 kB / 408.1 MB, free: 440 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.3661, allocations: 196.5 kB / 408.3 MB, free: 244 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.866e-06/0.3661, allocations: 0 / 408.3 MB, free: 244 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3664, allocations: 31.94 kB / 408.4 MB, free: 212 kB / 318.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001623/0.368, allocations: 1.009 MB / 409.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.3683, allocations: 59.92 kB / 409.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3683, allocations: 4 kB / 409.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.3684, allocations: 19.98 kB / 409.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3688, allocations: 68.17 kB / 409.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.3713, allocations: 1.94 MB / 411.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3716, allocations: 0.7241 MB / 412.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.981e-05/0.3717, allocations: 29.52 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.3718, allocations: 51.42 kB / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3718, allocations: 0 / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.4006, allocations: 4.596 MB / 416.9 MB, free: 7.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.25, allocations: 8.375 kB / 416.9 MB, free: 7.836 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches