Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 175.6 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.286/1.286, allocations: 205 MB / 222.6 MB, free: 9.125 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.0007974/0.0007975, allocations: 97.66 kB / 270.5 MB, free: 8.664 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.06927/0.06927, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07063/0.07099, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold): time 0.001638/0.07266, allocations: 1.333 MB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008239/0.07351, allocations: 0.5269 MB / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.07366, allocations: 0 / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.935e-05/0.07377, allocations: 3.938 kB / 443.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.07394, allocations: 15.94 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.07424, allocations: 47.83 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.07435, allocations: 51.84 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.07446, allocations: 15.98 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.07454, allocations: 27.8 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.0746, allocations: 15.88 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.07463, allocations: 4 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.07465, allocations: 0 / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.0747, allocations: 23.91 kB / 443.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.07474, allocations: 19.81 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.463e-05/0.07484, allocations: 63.72 kB / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.07485, allocations: 0 / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.07486, allocations: 0 / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.07487, allocations: 0 / 443.8 MB, free: 14.23 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004107/0.07529, allocations: 367.4 kB / 444.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.07534, allocations: 12.03 kB / 444.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.07539, allocations: 8.844 kB / 444.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.07556, allocations: 204.5 kB / 444.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.07558, allocations: 4.375 kB / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.0756, allocations: 8.125 kB / 444.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.07588, allocations: 138.7 kB / 444.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.0759, allocations: 0 / 444.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.07591, allocations: 3.984 kB / 444.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.07592, allocations: 0 / 444.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.07601, allocations: 31.92 kB / 444.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.07632, allocations: 299.3 kB / 444.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.07644, allocations: 98.42 kB / 445 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.07651, allocations: 47.48 kB / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.07655, allocations: 0 / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.07657, allocations: 42.5 kB / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.07658, allocations: 0 / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002696/0.07685, allocations: 101.5 kB / 445.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.07689, allocations: 137 kB / 445.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.07699, allocations: 149.8 kB / 445.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.07701, allocations: 25.7 kB / 445.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.07705, allocations: 92.14 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.07707, allocations: 3.906 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.0771, allocations: 17.72 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.07715, allocations: 318.8 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.0772, allocations: 19.98 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.07725, allocations: 40.3 kB / 446 MB, free: 11.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/0.07735, allocations: 72.2 kB / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.07736, allocations: 0 / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000139/0.07751, allocations: 85.45 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.07753, allocations: 8 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.07754, allocations: 4.156 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.07756, allocations: 4 kB / 446.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.07765, allocations: 8 kB / 446.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.024e-05/0.07769, allocations: 7.938 kB / 446.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.07775, allocations: 15.86 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.07777, allocations: 0 / 446.2 MB, free: 11.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.51e-05/0.07784, allocations: 126.7 kB / 446.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.07787, allocations: 7.906 kB / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.07791, allocations: 19.86 kB / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.07792, allocations: 128 / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.07793, allocations: 8 kB / 446.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.07798, allocations: 96.94 kB / 446.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.07801, allocations: 4 kB / 446.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.07809, allocations: 0 / 446.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.07813, allocations: 7.984 kB / 446.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002309/0.07837, allocations: 398.7 kB / 446.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002363/0.07862, allocations: 488.6 kB / 447.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.74e-05/0.0787, allocations: 27.92 kB / 447.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.917e-05/0.07876, allocations: 112 kB / 447.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Backend: time 6.72e-07/0.07877, allocations: 0 / 447.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.07935, allocations: 98.39 kB / 447.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006611/0.08003, allocations: 0.662 MB / 448.2 MB, free: 9.438 MB / 298.7 MB Notification: Performance of Templates: time 0.003001/0.08304, allocations: 0.6881 MB / 448.9 MB, free: 8.754 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1)