Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008457/0.0008458, allocations: 176.7 kB / 16.78 MB, free: 5.043 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.273/1.273, allocations: 205 MB / 222.6 MB, free: 9.062 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.000714/0.000714, allocations: 107.7 kB / 270.5 MB, free: 8.656 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.06572/0.06572, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 19.98 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06937/0.06974, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample): time 0.001594/0.07137, allocations: 1.598 MB / 443.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.0725, allocations: 0.9675 MB / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.0726, allocations: 4 kB / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.07303, allocations: 143.6 kB / 444.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.07323, allocations: 99.69 kB / 444.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.0736, allocations: 159.6 kB / 444.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.07375, allocations: 183.5 kB / 444.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.07384, allocations: 29.81 kB / 444.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.07392, allocations: 63.7 kB / 444.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.074, allocations: 67.62 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.07402, allocations: 0 / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.07412, allocations: 47.98 kB / 445 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.07418, allocations: 35.83 kB / 445.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.07424, allocations: 71.48 kB / 445.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.07441, allocations: 191.3 kB / 445.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.07442, allocations: 0 / 445.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.07443, allocations: 0 / 445.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.07443, 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.0004712/0.07491, allocations: 488.2 kB / 445.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.07495, allocations: 8.031 kB / 445.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.07499, allocations: 16.75 kB / 445.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.07521, allocations: 262.8 kB / 446.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.07523, allocations: 16.36 kB / 446.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.07525, allocations: 12.12 kB / 446.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.07549, allocations: 134.7 kB / 446.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.07551, allocations: 0 / 446.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.07553, allocations: 12 kB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.07553, allocations: 0 / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.07562, allocations: 31.92 kB / 446.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.07598, allocations: 358.4 kB / 446.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.07617, allocations: 111.9 kB / 446.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.07624, allocations: 46.5 kB / 446.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.07627, allocations: 4 kB / 446.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.0764, allocations: 83.33 kB / 446.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.07641, allocations: 0 / 446.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000274/0.07669, allocations: 141.2 kB / 447 MB, free: 10.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.07673, allocations: 128.5 kB / 447.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.07692, allocations: 269.2 kB / 447.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.07694, allocations: 25.7 kB / 447.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.07699, allocations: 124.2 kB / 447.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.07701, allocations: 23.73 kB / 447.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.07704, allocations: 13.72 kB / 447.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.07709, allocations: 334.7 kB / 447.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.07715, allocations: 23.98 kB / 447.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.07722, allocations: 66 kB / 448 MB, free: 9.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.976e-05/0.07732, allocations: 80.22 kB / 448.1 MB, free: 9.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.07733, allocations: 4 kB / 448.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001642/0.0775, allocations: 117.4 kB / 448.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.07752, allocations: 4.938 kB / 448.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.07753, allocations: 4 kB / 448.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.07755, allocations: 0 / 448.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.07762, allocations: 15.98 kB / 448.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.07763, allocations: 3.938 kB / 448.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.0777, allocations: 7.906 kB / 448.2 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.07772, allocations: 12.06 kB / 448.3 MB, free: 9.465 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,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 (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.951e-05/0.0778, allocations: 146.7 kB / 448.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.07783, allocations: 19.81 kB / 448.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.07788, allocations: 21.7 kB / 448.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.07788, allocations: 0 / 448.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.07789, allocations: 0 / 448.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.07795, allocations: 112.8 kB / 448.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.07798, allocations: 7.938 kB / 448.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.07805, allocations: 4 kB / 448.6 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.07809, allocations: 15.92 kB / 448.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002022/0.0783, allocations: 339.8 kB / 448.9 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001975/0.0785, allocations: 453 kB / 449.3 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.31e-05/0.07858, allocations: 35.98 kB / 449.4 MB, free: 8.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.07871, allocations: 192.5 kB / 449.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of Backend: time 2.31e-07/0.07871, allocations: 0 / 449.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.07991, allocations: 449.7 kB / 450 MB, free: 7.648 MB / 298.7 MB Notification: Performance of SimCode: time 0.0005489/0.08047, allocations: 0.8001 MB / 450.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of Templates: time 0.004199/0.08468, allocations: 2.389 MB / 453.2 MB, free: 4.41 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1)