Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009672/0.0009672, allocations: 175.2 kB / 16.77 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.26/1.26, 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.0007221/0.000722, allocations: 95.72 kB / 270.5 MB, free: 8.668 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.06682/0.06682, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004958, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09079, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold): time 0.002409/0.09325, allocations: 1.618 MB / 443.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.09496, allocations: 1.057 MB / 444.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.09508, allocations: 7.938 kB / 444.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.09541, allocations: 59.8 kB / 444.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.09564, allocations: 83.72 kB / 444.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.09643, allocations: 203.6 kB / 444.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.09666, allocations: 167.5 kB / 444.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.09679, allocations: 33.55 kB / 444.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.0969, allocations: 75.56 kB / 445 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.09702, allocations: 67.69 kB / 445.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.09706, allocations: 4 kB / 445.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.09722, allocations: 51.97 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.09732, allocations: 55.77 kB / 445.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.09742, allocations: 75.42 kB / 445.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.09772, allocations: 219.5 kB / 445.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.09774, allocations: 0 / 445.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09775, allocations: 8 kB / 445.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.09776, allocations: 0 / 445.5 MB, free: 12.61 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.0006683/0.09844, allocations: 0.5 MB / 446 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.09849, allocations: 8.031 kB / 446 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.09857, allocations: 24.66 kB / 446 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.09892, allocations: 291.4 kB / 446.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.09895, allocations: 4.375 kB / 446.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.09898, allocations: 12.12 kB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.09938, allocations: 176.4 kB / 446.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.0994, allocations: 0 / 446.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.09943, allocations: 4 kB / 446.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.09945, allocations: 4 kB / 446.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.09961, allocations: 39.92 kB / 446.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.1002, allocations: 474.5 kB / 447 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.1005, allocations: 138.5 kB / 447.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1007, allocations: 67.41 kB / 447.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1007, allocations: 4 kB / 447.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1009, allocations: 97.03 kB / 447.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.101, allocations: 0 / 447.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005147/0.1015, allocations: 169.4 kB / 447.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1015, allocations: 187.9 kB / 447.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.1019, allocations: 330.7 kB / 447.9 MB, free: 9.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.102, allocations: 29.7 kB / 448 MB, free: 9.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.1021, allocations: 128.3 kB / 448.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1021, allocations: 15.75 kB / 448.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1022, allocations: 25.7 kB / 448.1 MB, free: 9.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.1022, allocations: 339 kB / 448.5 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.1023, allocations: 27.98 kB / 448.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1025, allocations: 91.72 kB / 448.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1027, allocations: 101 kB / 448.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1027, allocations: 0 / 448.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003285/0.1031, allocations: 137.3 kB / 448.8 MB, free: 8.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1031, allocations: 5.094 kB / 448.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1031, allocations: 8 kB / 448.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1031, allocations: 3.938 kB / 448.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1033, allocations: 23.98 kB / 448.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1033, allocations: 0 / 448.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1035, allocations: 15.89 kB / 448.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1035, allocations: 7.984 kB / 448.9 MB, free: 8.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample.y,hold.y,hold.u,shiftSample.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 0.0001366/0.1036, allocations: 162.6 kB / 449 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.1037, allocations: 23.72 kB / 449.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.1038, allocations: 29.7 kB / 449.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1038, allocations: 0 / 449.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1038, allocations: 7.984 kB / 449.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.1039, allocations: 112.8 kB / 449.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.104, allocations: 7.938 kB / 449.2 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1041, allocations: 7.984 kB / 449.2 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.1041, allocations: 12.3 kB / 449.2 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004027/0.1046, allocations: 446.7 kB / 449.7 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003849/0.105, allocations: 0.5278 MB / 450.2 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001532/0.1051, allocations: 59.89 kB / 450.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.1054, allocations: 241.9 kB / 450.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of Backend: time 5.91e-07/0.1054, allocations: 0 / 450.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.1077, allocations: 464.4 kB / 451 MB, free: 6.66 MB / 298.7 MB Notification: Performance of SimCode: time 0.0009757/0.1087, allocations: 0.867 MB / 451.8 MB, free: 5.75 MB / 298.7 MB Notification: Performance of Templates: time 0.007818/0.1166, allocations: 2.973 MB / 454.8 MB, free: 2.773 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1)