Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008511/0.0008512, allocations: 175.7 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.23/1.23, allocations: 205 MB / 222.6 MB, free: 9.152 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.0006949/0.0006949, allocations: 102.2 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.06517/0.06517, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07224/0.0726, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.001408/0.07405, allocations: 1.301 MB / 443 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.07479, allocations: 0.5191 MB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.07488, allocations: 4 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.728e-05/0.07494, allocations: 3.938 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.07506, allocations: 11.92 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.0753, allocations: 39.91 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.07539, allocations: 39.8 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.07548, allocations: 16.17 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.07555, allocations: 23.92 kB / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.0756, allocations: 23.86 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.07562, allocations: 4 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.07564, allocations: 0 / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.07568, allocations: 11.92 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.07572, allocations: 23.81 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.498e-05/0.0758, allocations: 51.8 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.07581, allocations: 3.938 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07581, allocations: 0 / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.07582, allocations: 0 / 443.8 MB, free: 14.3 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.0003337/0.07616, allocations: 363.4 kB / 444.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.0762, allocations: 12.03 kB / 444.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.07624, allocations: 8.844 kB / 444.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.07639, allocations: 208 kB / 444.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.07641, allocations: 384 / 444.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.07642, allocations: 4.375 kB / 444.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.07665, allocations: 126 kB / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.07667, allocations: 0 / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.07668, allocations: 0 / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.07669, allocations: 4 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.07677, allocations: 27.92 kB / 444.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.077, allocations: 274.6 kB / 444.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.0771, allocations: 67.8 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.07716, allocations: 46.56 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.07719, allocations: 4 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.07721, allocations: 34.5 kB / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.07722, allocations: 0 / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002332/0.07746, allocations: 97.62 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.07749, allocations: 106.8 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.07758, allocations: 141.6 kB / 445.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.0776, allocations: 25.7 kB / 445.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.07763, allocations: 92.12 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.07765, allocations: 3.906 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.07767, allocations: 13.72 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.07772, allocations: 319 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.07777, allocations: 15.98 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.07781, allocations: 35.36 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.732e-05/0.0779, allocations: 59.3 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.07791, allocations: 4 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00012/0.07803, allocations: 73.61 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.07805, allocations: 8 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.07807, allocations: 0 / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.07808, allocations: 0 / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.07816, allocations: 8 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.07818, allocations: 4 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.07822, allocations: 7.984 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.07824, allocations: 0 / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.531e-05/0.0783, allocations: 129.8 kB / 446 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.07833, allocations: 11.91 kB / 446.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.07836, allocations: 11.81 kB / 446.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.07837, allocations: 4 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.07838, allocations: 0 / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.07842, allocations: 93 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.07844, allocations: 0 / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.07851, allocations: 4 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.07855, allocations: 7.938 kB / 446.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000182/0.07874, allocations: 311.4 kB / 446.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001574/0.07891, allocations: 397.3 kB / 446.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.112e-05/0.07897, allocations: 15.98 kB / 446.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.07902, allocations: 111.2 kB / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of Backend: time 2.1e-07/0.07902, allocations: 0 / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.07947, allocations: 98.33 kB / 447.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004087/0.07989, allocations: 0.646 MB / 447.7 MB, free: 9.926 MB / 298.7 MB Notification: Performance of Templates: time 0.002138/0.08204, allocations: 0.6214 MB / 448.4 MB, free: 9.309 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1)