Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 180.6 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205 MB / 221.9 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 85.73 kB / 269.9 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07045/0.07045, allocations: 12.57 MB / 330.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 8 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07692/0.0773, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.002027/0.07936, allocations: 1.594 MB / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.08076, allocations: 0.9753 MB / 443.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.0809, allocations: 0 / 443.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.08153, allocations: 155.6 kB / 443.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.08176, allocations: 103.6 kB / 444 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.08219, allocations: 159.7 kB / 444.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.08241, allocations: 179.5 kB / 444.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.08254, allocations: 41.73 kB / 444.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.08264, allocations: 55.72 kB / 444.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.08274, allocations: 67.62 kB / 444.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.08277, allocations: 4 kB / 444.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.08288, allocations: 39.98 kB / 444.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.08296, allocations: 43.83 kB / 444.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.08304, allocations: 67.48 kB / 444.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.08327, allocations: 187.3 kB / 444.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.08328, allocations: 0 / 444.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.08329, allocations: 0 / 444.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.0833, allocations: 8 kB / 444.8 MB, free: 12.61 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.0006073/0.08391, allocations: 480.3 kB / 445.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.08396, allocations: 12.03 kB / 445.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.08401, allocations: 38.73 kB / 445.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.08406, allocations: 16.75 kB / 445.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.08433, allocations: 266.7 kB / 445.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.08436, allocations: 8.375 kB / 445.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.08438, allocations: 7.938 kB / 445.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.08467, allocations: 150.7 kB / 445.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.0847, allocations: 0 / 445.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.08472, allocations: 0 / 445.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.08473, allocations: 3.938 kB / 445.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.08483, allocations: 39.92 kB / 445.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.08527, allocations: 350.5 kB / 446.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.08546, allocations: 111.9 kB / 446.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.08553, allocations: 50.5 kB / 446.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.08556, allocations: 12.05 kB / 446.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.0857, allocations: 71.39 kB / 446.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.08571, allocations: 0 / 446.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002963/0.08601, allocations: 149.2 kB / 446.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.08608, allocations: 132.5 kB / 446.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.08629, allocations: 268.9 kB / 446.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.08631, allocations: 29.95 kB / 446.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.08637, allocations: 128.1 kB / 447.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.0864, allocations: 15.8 kB / 447.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.08643, allocations: 13.72 kB / 447.1 MB, free: 10 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.0865, allocations: 326.8 kB / 447.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.08655, allocations: 23.98 kB / 447.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.461e-05/0.08663, allocations: 70 kB / 447.5 MB, free: 9.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.758e-05/0.08673, allocations: 80.16 kB / 447.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.08674, allocations: 0 / 447.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001585/0.0869, allocations: 113.7 kB / 447.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.08693, allocations: 8 kB / 447.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.08694, allocations: 4.062 kB / 447.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.08696, allocations: 4 kB / 447.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.08704, allocations: 15.92 kB / 447.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.08706, allocations: 4 kB / 447.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.08712, allocations: 11.84 kB / 447.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.08714, allocations: 4 kB / 447.8 MB, free: 9.301 MB / 298.7 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,superSample.y,superSample.u,sample.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 9.925e-05/0.08724, allocations: 146.7 kB / 447.9 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.08731, allocations: 69.44 kB / 448 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.08736, allocations: 17.7 kB / 448 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.08737, allocations: 4 kB / 448 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.08738, allocations: 0 / 448 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.08739, allocations: 3.938 kB / 448 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.08753, allocations: 221.6 kB / 448.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.08754, allocations: 0 / 448.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.08757, allocations: 4 kB / 448.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.08758, allocations: 4.062 kB / 448.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.08759, allocations: 8 kB / 448.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.0876, allocations: 7.922 kB / 448.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.08761, allocations: 3.938 kB / 448.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.0878, allocations: 158.4 kB / 448.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.08787, allocations: 104.9 kB / 448.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.08791, allocations: 11.98 kB / 448.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.08797, allocations: 4 kB / 448.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.08803, allocations: 11.92 kB / 448.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.08805, allocations: 4 kB / 448.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.08819, allocations: 192.5 kB / 448.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.0882, allocations: 0 / 448.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.08843, allocations: 31.98 kB / 448.7 MB, free: 8.207 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,superSample.y,sample.y,superSample.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.001072/0.0895, allocations: 1 MB / 449.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.08969, allocations: 63.91 kB / 449.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0897, allocations: 4.25 kB / 449.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.08977, allocations: 27.94 kB / 449.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.09016, allocations: 60.34 kB / 449.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.09184, allocations: 1.95 MB / 451.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.09201, allocations: 0.7322 MB / 452.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.019e-05/0.09209, allocations: 25.53 kB / 452.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.09216, allocations: 47.42 kB / 452.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.09216, allocations: 0 / 452.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.1059, allocations: 4.053 MB / 456.7 MB, free: 56 kB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.1062, allocations: 269.9 kB / 457 MB, free: 15.7 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/1.894, allocations: 3.906 kB / 457 MB, free: 15.7 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches