Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 176.1 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.614/1.614, allocations: 205 MB / 222.6 MB, free: 9.148 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.0007394/0.0007394, allocations: 100.4 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.06914/0.06914, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07168/0.07205, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample): time 0.001638/0.07374, allocations: 1.277 MB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.07454, allocations: 0.5191 MB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.07467, allocations: 0 / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.658e-05/0.07473, allocations: 8 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.07488, allocations: 7.922 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.0752, allocations: 39.84 kB / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.07531, allocations: 47.8 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.07543, allocations: 20.16 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.07551, allocations: 15.94 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.07557, allocations: 19.86 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.0756, allocations: 8 kB / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.07562, allocations: 0 / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.07568, allocations: 15.91 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.07572, allocations: 23.81 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.258e-05/0.07582, allocations: 51.8 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.07583, allocations: 0 / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.07584, allocations: 0 / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.07585, allocations: 0 / 443.7 MB, free: 14.33 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000455/0.07631, allocations: 367.3 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.07636, allocations: 12.03 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.0764, allocations: 8.844 kB / 444.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.07658, allocations: 200 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.0766, allocations: 4.375 kB / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.07663, allocations: 4.375 kB / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.07693, allocations: 117.1 kB / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.07695, allocations: 0 / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.07697, allocations: 0 / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.07698, allocations: 3.984 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.07707, allocations: 23.92 kB / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.07741, allocations: 265.8 kB / 444.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.487e-05/0.07749, allocations: 41.22 kB / 444.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.07755, allocations: 25.7 kB / 444.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.07758, allocations: 7.938 kB / 444.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.07761, allocations: 42.56 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.07761, allocations: 0 / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002394/0.07786, allocations: 73.52 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.07789, allocations: 77.11 kB / 445 MB, free: 12.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.07799, allocations: 149.8 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.078, allocations: 33.69 kB / 445.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.07803, allocations: 84.14 kB / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.07805, allocations: 3.906 kB / 445.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.07808, allocations: 9.719 kB / 445.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.07812, allocations: 322.8 kB / 445.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.07817, allocations: 8 kB / 445.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.07821, allocations: 29.7 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.859e-05/0.07829, allocations: 33.59 kB / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.0783, allocations: 0 / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.07841, allocations: 57.73 kB / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.07843, allocations: 11.94 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.07844, allocations: 0 / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.07846, allocations: 0 / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.07854, allocations: 8 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.07856, allocations: 7.984 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.0786, allocations: 0 / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.07861, allocations: 4 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.683e-05/0.07867, allocations: 118.7 kB / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.07871, allocations: 11.91 kB / 445.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.07874, allocations: 11.81 kB / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.07875, allocations: 4 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.07876, allocations: 0 / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.0788, allocations: 93 kB / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.07882, allocations: 0 / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.0789, allocations: 4 kB / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.07894, allocations: 3.938 kB / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001414/0.07909, allocations: 220.2 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000151/0.07925, allocations: 314.1 kB / 446.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.629e-05/0.07931, allocations: 11.94 kB / 446.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.07937, allocations: 115.2 kB / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Backend: time 5.51e-07/0.07937, allocations: 0 / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.07976, allocations: 86.42 kB / 446.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of SimCode: time 0.000435/0.0802, allocations: 0.6345 MB / 447.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of Templates: time 0.002337/0.08255, allocations: 0.5641 MB / 447.9 MB, free: 9.797 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1)