Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 175.5 kB / 16.78 MB, free: 5.047 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.33/1.33, allocations: 205 MB / 222.6 MB, free: 9.16 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.0008104/0.0008104, allocations: 101.6 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.07065/0.07066, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 16 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07109/0.07146, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample): time 0.001919/0.07342, allocations: 1.594 MB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.07475, allocations: 0.9442 MB / 444.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.07492, allocations: 7.938 kB / 444.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.07553, allocations: 143.7 kB / 444.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.0758, allocations: 99.69 kB / 444.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.07632, allocations: 167.6 kB / 444.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.07656, allocations: 175.5 kB / 444.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.07668, allocations: 37.77 kB / 444.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.0768, allocations: 59.7 kB / 444.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.0769, allocations: 63.64 kB / 445 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.07693, allocations: 4 kB / 445 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.07706, allocations: 47.97 kB / 445 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.07713, allocations: 31.84 kB / 445.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.0772, allocations: 67.48 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.07746, allocations: 195.3 kB / 445.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.07748, allocations: 4 kB / 445.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07749, allocations: 0 / 445.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.0775, 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.0006007/0.07811, allocations: 484.2 kB / 445.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.07815, allocations: 8.031 kB / 445.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.07823, allocations: 20.75 kB / 445.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.07851, allocations: 266.8 kB / 446.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.07854, allocations: 4.375 kB / 446.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.07856, allocations: 16.12 kB / 446.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.07886, allocations: 142.7 kB / 446.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.07888, allocations: 0 / 446.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.0789, allocations: 0 / 446.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.07891, allocations: 4 kB / 446.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.079, allocations: 39.91 kB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.07938, allocations: 362.4 kB / 446.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.07957, allocations: 111.9 kB / 446.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.07964, allocations: 46.5 kB / 446.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.07967, allocations: 4 kB / 446.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.07981, allocations: 71.39 kB / 446.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.07982, allocations: 0 / 446.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002991/0.08012, allocations: 149.2 kB / 447 MB, free: 10.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.08016, allocations: 128.5 kB / 447.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.08036, allocations: 261 kB / 447.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.08038, allocations: 29.95 kB / 447.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.08043, allocations: 124.1 kB / 447.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.08046, allocations: 23.73 kB / 447.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.08049, allocations: 17.72 kB / 447.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.08054, allocations: 334.8 kB / 447.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.0806, allocations: 12 kB / 447.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.08067, allocations: 77.98 kB / 448 MB, free: 9.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.971e-05/0.08078, allocations: 72.23 kB / 448.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.08079, allocations: 0 / 448.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001699/0.08097, allocations: 121.4 kB / 448.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.08099, allocations: 4 kB / 448.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.081, allocations: 3.938 kB / 448.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.08102, allocations: 4 kB / 448.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.0811, allocations: 16.23 kB / 448.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.08111, allocations: 7.984 kB / 448.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.08119, allocations: 15.91 kB / 448.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.0812, allocations: 7.938 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,sample.u,subSample.y,subSample.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 8.814e-05/0.08129, allocations: 142.8 kB / 448.4 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.08133, allocations: 19.8 kB / 448.4 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.08138, allocations: 21.72 kB / 448.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.08142, allocations: 4 kB / 448.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.08142, allocations: 3.984 kB / 448.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.08149, allocations: 104.8 kB / 448.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.08152, allocations: 3.938 kB / 448.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.08159, allocations: 11.98 kB / 448.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.08164, allocations: 4 kB / 448.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002209/0.08187, allocations: 351.4 kB / 448.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002208/0.0821, allocations: 449 kB / 449.3 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.747e-05/0.08218, allocations: 31.98 kB / 449.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.08231, allocations: 196.5 kB / 449.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of Backend: time 8.31e-07/0.08232, allocations: 0 / 449.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.08358, allocations: 449.5 kB / 450 MB, free: 7.684 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006412/0.08424, allocations: 0.7881 MB / 450.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of Templates: time 0.004806/0.08906, allocations: 2.35 MB / 453.1 MB, free: 4.496 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1)