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: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 173.1 kB / 16.76 MB, free: 5.055 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.263/1.263, allocations: 205 MB / 222.5 MB, free: 9.145 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.0007066/0.0007065, allocations: 90.3 kB / 270.5 MB, free: 8.672 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.06139/0.06139, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06654/0.06687, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.001576/0.06848, allocations: 1.591 MB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.06962, allocations: 0.9831 MB / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.06972, allocations: 7.938 kB / 444.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.07021, allocations: 135.7 kB / 444.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.07041, allocations: 99.69 kB / 444.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.0708, allocations: 171.6 kB / 444.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.07096, allocations: 179.5 kB / 444.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.07105, allocations: 25.83 kB / 444.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.07114, allocations: 67.64 kB / 444.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.07122, allocations: 55.7 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.07125, allocations: 7.984 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.07135, allocations: 43.98 kB / 445 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.07141, allocations: 43.78 kB / 445.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.07146, allocations: 67.53 kB / 445.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.07161, allocations: 147.6 kB / 445.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.07162, allocations: 0 / 445.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07163, allocations: 0 / 445.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.07164, allocations: 0 / 445.3 MB, free: 12.77 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.0004654/0.07211, allocations: 480.3 kB / 445.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.07215, allocations: 12.03 kB / 445.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.0722, allocations: 20.75 kB / 445.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.07242, allocations: 266.7 kB / 446.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.07245, allocations: 12.38 kB / 446.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.07247, allocations: 8.125 kB / 446.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.07272, allocations: 150.7 kB / 446.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.07273, allocations: 0 / 446.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.07275, allocations: 7.984 kB / 446.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.07276, allocations: 4 kB / 446.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.07286, allocations: 31.92 kB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.07322, allocations: 366.3 kB / 446.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.07342, allocations: 107.9 kB / 446.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.0735, allocations: 46.56 kB / 446.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.07353, allocations: 0 / 446.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.07366, allocations: 75.38 kB / 446.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.07367, allocations: 4 kB / 446.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002845/0.07396, allocations: 141.2 kB / 447 MB, free: 10.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.07401, allocations: 136.8 kB / 447.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.0742, allocations: 265 kB / 447.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.07422, allocations: 25.7 kB / 447.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.07428, allocations: 124.1 kB / 447.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.0743, allocations: 19.75 kB / 447.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.07433, allocations: 21.7 kB / 447.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.07438, allocations: 326.8 kB / 447.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.07444, allocations: 27.98 kB / 447.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.07451, allocations: 69.88 kB / 448 MB, free: 9.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.07462, allocations: 80.25 kB / 448.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.07463, allocations: 4 kB / 448.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001613/0.0748, allocations: 109.4 kB / 448.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.07482, allocations: 4 kB / 448.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.07483, allocations: 4 kB / 448.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.07484, allocations: 0 / 448.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.07491, allocations: 15.94 kB / 448.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.07492, allocations: 128 / 448.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.07499, allocations: 23.83 kB / 448.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.07501, allocations: 4 kB / 448.2 MB, free: 9.496 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 7.841e-05/0.07509, allocations: 146.1 kB / 448.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.07516, allocations: 57.45 kB / 448.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.0752, allocations: 21.7 kB / 448.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.07521, allocations: 4 kB / 448.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.07522, allocations: 0 / 448.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.07523, allocations: 8 kB / 448.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.07535, allocations: 229.6 kB / 448.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.07536, allocations: 0 / 448.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.07539, allocations: 11.94 kB / 448.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.0754, allocations: 0 / 448.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.07541, allocations: 4 kB / 448.7 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.07542, allocations: 4 kB / 448.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.07543, allocations: 0 / 448.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.07561, allocations: 162.4 kB / 448.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.07567, allocations: 104.9 kB / 449 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.0757, allocations: 0 / 449 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.07577, allocations: 11.98 kB / 449 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.07581, allocations: 4 kB / 449 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.07583, allocations: 7.938 kB / 449 MB, free: 8.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.07596, allocations: 192.5 kB / 449.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.07596, allocations: 8.094 kB / 449.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.07618, allocations: 31.92 kB / 449.2 MB, free: 8.402 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.0007629/0.07695, allocations: 414 kB / 449.6 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.07713, allocations: 75.84 kB / 449.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.07714, allocations: 0 / 449.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.07721, allocations: 20.25 kB / 449.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.07758, allocations: 60.36 kB / 449.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.078, allocations: 380.3 kB / 450.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.07814, allocations: 0.7283 MB / 450.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.07818, allocations: 27.38 kB / 450.9 MB, free: 6.645 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.07819, allocations: 0 / 450.9 MB, free: 6.645 MB / 298.7 MB Notification: Performance of Templates: time 0.003265/0.08146, allocations: 2.555 MB / 453.5 MB, free: 4.086 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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