Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 175.4 kB / 16.78 MB, free: 4.926 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.239/1.239, allocations: 205 MB / 222.5 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.0008444/0.0008443, allocations: 104.1 kB / 270.5 MB, free: 8.652 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.06826/0.06826, allocations: 12.56 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 12 kB / 391.7 MB, free: 66.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07022/0.07056, allocations: 49.99 MB / 441.7 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample): time 0.001872/0.07247, allocations: 1.591 MB / 443.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.07376, allocations: 1.041 MB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.07387, allocations: 7.938 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.07417, allocations: 63.8 kB / 444.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.07435, allocations: 79.72 kB / 444.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.07486, allocations: 207.6 kB / 444.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.07502, allocations: 151.6 kB / 444.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.07513, allocations: 33.53 kB / 444.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.07521, allocations: 63.66 kB / 444.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/0.07531, allocations: 75.66 kB / 445 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.07534, allocations: 0 / 445 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.07546, allocations: 51.92 kB / 445.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.07553, allocations: 43.83 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.0756, allocations: 75.41 kB / 445.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.07582, allocations: 215.5 kB / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.07583, allocations: 4 kB / 445.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.07584, allocations: 0 / 445.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.07585, allocations: 0 / 445.4 MB, free: 12.67 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.0005552/0.07641, allocations: 0.5 MB / 445.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.07645, allocations: 8.031 kB / 445.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.07651, allocations: 24.66 kB / 445.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.07676, allocations: 283.6 kB / 446.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.07678, allocations: 384 / 446.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.07681, allocations: 12.12 kB / 446.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.07709, allocations: 159.5 kB / 446.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.07711, allocations: 4 kB / 446.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.07713, allocations: 4 kB / 446.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.07714, allocations: 0 / 446.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.815e-05/0.07724, allocations: 39.97 kB / 446.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.07764, allocations: 386.2 kB / 446.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.07784, allocations: 123.9 kB / 446.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.07792, allocations: 42.56 kB / 446.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.07796, allocations: 11.94 kB / 447 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.07813, allocations: 83.31 kB / 447 MB, free: 10.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.07815, allocations: 0 / 447 MB, free: 10.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003079/0.07846, allocations: 153.4 kB / 447.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.0785, allocations: 154.2 kB / 447.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.07873, allocations: 326.6 kB / 447.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.07875, allocations: 29.7 kB / 447.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.07881, allocations: 132.4 kB / 447.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.07884, allocations: 19.8 kB / 447.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.07886, allocations: 17.72 kB / 447.9 MB, free: 9.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.07892, allocations: 334.8 kB / 448.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.07898, allocations: 23.98 kB / 448.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.07907, allocations: 94.73 kB / 448.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.0792, allocations: 80.22 kB / 448.4 MB, free: 9.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.07921, allocations: 0 / 448.4 MB, free: 9.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001847/0.0794, allocations: 129.4 kB / 448.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.07942, allocations: 4 kB / 448.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.07943, allocations: 0 / 448.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.07945, allocations: 4 kB / 448.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.07954, allocations: 15.98 kB / 448.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.07956, allocations: 4 kB / 448.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.07964, allocations: 15.84 kB / 448.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.07965, allocations: 7.938 kB / 448.6 MB, free: 9.148 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,table.y,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 9.103e-05/0.07975, allocations: 154.7 kB / 448.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.07978, allocations: 23.7 kB / 448.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.07983, allocations: 29.7 kB / 448.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.07984, allocations: 3.938 kB / 448.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.07985, allocations: 0 / 448.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.07992, allocations: 108.9 kB / 448.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.07995, allocations: 11.92 kB / 448.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.08002, allocations: 4 kB / 448.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.08007, allocations: 11.98 kB / 448.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002293/0.08031, allocations: 355.8 kB / 449.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002256/0.08055, allocations: 461 kB / 449.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.123e-05/0.08064, allocations: 39.97 kB / 449.7 MB, free: 7.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.08081, allocations: 249.9 kB / 450 MB, free: 7.672 MB / 298.7 MB Notification: Performance of Backend: time 3.61e-07/0.08082, allocations: 0 / 450 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.08212, allocations: 446 kB / 450.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006188/0.08275, allocations: 0.8669 MB / 451.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of Templates: time 0.004829/0.08759, allocations: 2.81 MB / 454.1 MB, free: 3.512 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1)