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.001588/0.001588, allocations: 174.7 kB / 16.77 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.35/1.35, allocations: 205 MB / 222.6 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.0007654/0.0007655, allocations: 93.19 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.06873/0.06873, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 8 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07097/0.07134, allocations: 49.99 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.001762/0.07314, allocations: 1.594 MB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.07441, allocations: 0.9715 MB / 444.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.07456, allocations: 7.938 kB / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.07509, allocations: 139.7 kB / 444.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.07533, allocations: 103.7 kB / 444.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.0758, allocations: 163.6 kB / 444.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.07601, allocations: 183.4 kB / 444.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.07613, allocations: 33.83 kB / 444.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.07626, allocations: 59.64 kB / 444.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.07638, allocations: 63.7 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.07641, allocations: 4 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.07654, allocations: 43.97 kB / 445 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.0766, allocations: 39.78 kB / 445.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.07668, allocations: 67.55 kB / 445.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.07689, allocations: 191.3 kB / 445.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0769, allocations: 0 / 445.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.07691, allocations: 0 / 445.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.07692, allocations: 0 / 445.3 MB, free: 12.73 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.0005275/0.07745, allocations: 492.2 kB / 445.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.0775, allocations: 15.95 kB / 445.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.07755, allocations: 20.75 kB / 445.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.07781, allocations: 254.9 kB / 446.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.07784, allocations: 8.375 kB / 446.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.07786, allocations: 12.12 kB / 446.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.07813, allocations: 142.7 kB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.07816, allocations: 0 / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.07818, allocations: 7.984 kB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.07819, allocations: 4 kB / 446.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.07828, allocations: 35.92 kB / 446.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.07866, allocations: 362.3 kB / 446.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.07884, allocations: 111.9 kB / 446.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.07891, allocations: 42.56 kB / 446.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.07895, allocations: 0 / 446.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.07909, allocations: 79.33 kB / 446.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.0791, allocations: 0 / 446.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003058/0.07941, allocations: 137.3 kB / 447 MB, free: 10.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.07945, allocations: 140.5 kB / 447.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.07965, allocations: 257.2 kB / 447.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.07967, allocations: 33.7 kB / 447.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.07973, allocations: 124.1 kB / 447.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.07976, allocations: 15.75 kB / 447.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.07979, allocations: 21.7 kB / 447.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.07985, allocations: 326.8 kB / 447.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.07991, allocations: 23.98 kB / 447.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.07998, allocations: 77.94 kB / 448 MB, free: 9.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.0801, allocations: 76.22 kB / 448.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.08011, allocations: 0 / 448.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001689/0.08029, allocations: 113.8 kB / 448.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.08031, allocations: 11.94 kB / 448.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.08032, allocations: 4 kB / 448.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.08034, allocations: 4 kB / 448.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.08041, allocations: 11.94 kB / 448.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.08043, allocations: 4 kB / 448.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.0805, allocations: 11.89 kB / 448.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.08052, allocations: 11.94 kB / 448.3 MB, free: 9.457 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 8.395e-05/0.08061, allocations: 142.8 kB / 448.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.08064, allocations: 15.81 kB / 448.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.08069, allocations: 21.7 kB / 448.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.0807, allocations: 0 / 448.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.0807, allocations: 4 kB / 448.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.08077, allocations: 112.8 kB / 448.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.0808, allocations: 3.938 kB / 448.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.08086, allocations: 7.984 kB / 448.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.08091, allocations: 12 kB / 448.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002191/0.08114, allocations: 343.5 kB / 448.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002303/0.08138, allocations: 449 kB / 449.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.995e-05/0.08146, allocations: 27.98 kB / 449.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.0816, allocations: 196.5 kB / 449.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of Backend: time 1.042e-06/0.08161, allocations: 0 / 449.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.08291, allocations: 453.7 kB / 450 MB, free: 7.648 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006276/0.08355, allocations: 0.7961 MB / 450.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of Templates: time 0.004868/0.08844, allocations: 2.35 MB / 453.2 MB, free: 4.453 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)