Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 176.4 kB / 16.77 MB, free: 5.035 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.279/1.279, allocations: 205 MB / 222.5 MB, free: 9.156 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.0007372/0.0007373, allocations: 93.3 kB / 270.5 MB, free: 8.68 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.06539/0.06539, allocations: 12.56 MB / 331 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 16 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06786/0.06822, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample): time 0.001781/0.07003, allocations: 1.626 MB / 443.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.0712, allocations: 0.9869 MB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.07131, allocations: 4 kB / 444.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.0718, allocations: 147.6 kB / 444.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.072, allocations: 95.7 kB / 444.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.07239, allocations: 167.6 kB / 444.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.07256, allocations: 191.4 kB / 444.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.07266, allocations: 33.95 kB / 444.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.07275, allocations: 63.64 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.07283, allocations: 71.62 kB / 445.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.07286, allocations: 4 kB / 445.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.07296, allocations: 43.97 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.07302, allocations: 35.84 kB / 445.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.07308, allocations: 71.42 kB / 445.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.07327, allocations: 199.3 kB / 445.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.07329, allocations: 8 kB / 445.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07329, allocations: 0 / 445.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.0733, allocations: 0 / 445.4 MB, free: 12.65 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005334/0.07384, allocations: 496.2 kB / 445.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.07388, allocations: 8.031 kB / 445.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.07394, allocations: 24.66 kB / 445.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.07418, allocations: 266.7 kB / 446.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.0742, allocations: 12.36 kB / 446.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.07422, allocations: 16.12 kB / 446.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.07449, allocations: 171.5 kB / 446.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.07451, allocations: 3.938 kB / 446.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.07453, allocations: 0 / 446.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.07454, allocations: 8 kB / 446.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.07463, allocations: 35.98 kB / 446.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.07499, allocations: 371.2 kB / 446.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.07517, allocations: 134.5 kB / 446.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.07526, allocations: 63.34 kB / 447 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.07529, allocations: 4 kB / 447 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.07542, allocations: 75.39 kB / 447.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.07543, allocations: 0 / 447.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003024/0.07574, allocations: 165.5 kB / 447.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.07578, allocations: 158.2 kB / 447.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.07598, allocations: 265 kB / 447.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.076, allocations: 29.7 kB / 447.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.07605, allocations: 120.3 kB / 447.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.07608, allocations: 19.83 kB / 447.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.07611, allocations: 17.72 kB / 447.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.07617, allocations: 334.8 kB / 448.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.07623, allocations: 35.92 kB / 448.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.07631, allocations: 79.72 kB / 448.3 MB, free: 9.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.07642, allocations: 93.97 kB / 448.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.07643, allocations: 0 / 448.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001755/0.07661, allocations: 133.4 kB / 448.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.07664, allocations: 8.938 kB / 448.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.07664, allocations: 0 / 448.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.07666, allocations: 4 kB / 448.5 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.07673, allocations: 15.98 kB / 448.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.07675, allocations: 3.938 kB / 448.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.07682, allocations: 12 kB / 448.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.07684, allocations: 7.938 kB / 448.6 MB, free: 9.148 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.317e-05/0.07692, allocations: 147 kB / 448.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.07696, allocations: 27.66 kB / 448.7 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.07701, allocations: 25.7 kB / 448.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.07702, allocations: 0 / 448.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.07702, allocations: 0 / 448.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.07708, allocations: 116.8 kB / 448.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.07712, allocations: 3.938 kB / 448.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.07718, allocations: 4 kB / 448.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.07722, allocations: 11.98 kB / 448.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002323/0.07746, allocations: 438.7 kB / 449.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002302/0.0777, allocations: 0.5277 MB / 449.8 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.056e-05/0.07778, allocations: 35.98 kB / 449.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.07791, allocations: 196.5 kB / 450.1 MB, free: 7.586 MB / 298.7 MB Notification: Performance of Backend: time 3.5e-07/0.07792, allocations: 0 / 450.1 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.07919, allocations: 460.7 kB / 450.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of SimCode: time 0.00066/0.07986, allocations: 0.8159 MB / 451.3 MB, free: 6.266 MB / 298.7 MB Notification: Performance of Templates: time 0.004653/0.08452, allocations: 2.595 MB / 453.9 MB, free: 3.668 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1)