Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000859/0.0008589, 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.256/1.256, allocations: 205 MB / 222.5 MB, free: 9.07 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.0007382/0.0007383, allocations: 98.62 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.06406/0.06406, allocations: 12.56 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 15.98 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06794/0.0683, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.001681/0.07002, allocations: 1.587 MB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.07129, allocations: 1.061 MB / 444.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.07139, allocations: 3.938 kB / 444.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.07172, allocations: 67.73 kB / 444.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.0719, allocations: 79.72 kB / 444.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.07241, allocations: 211.6 kB / 444.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.07257, allocations: 159.5 kB / 444.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.07268, allocations: 25.55 kB / 444.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.07276, allocations: 63.69 kB / 444.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.081e-05/0.07285, allocations: 75.62 kB / 445 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.07287, allocations: 0 / 445 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.07299, allocations: 51.97 kB / 445.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.07306, allocations: 47.83 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.07312, allocations: 75.42 kB / 445.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.07333, allocations: 215.5 kB / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.07334, allocations: 3.984 kB / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.07335, allocations: 0 / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.07336, allocations: 0 / 445.4 MB, free: 12.68 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.0004902/0.07385, allocations: 0.4961 MB / 445.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.07389, allocations: 8.031 kB / 445.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.07395, allocations: 24.66 kB / 445.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.07419, allocations: 283.6 kB / 446.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.07421, allocations: 12.38 kB / 446.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.07423, allocations: 8.125 kB / 446.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.07451, allocations: 151.6 kB / 446.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.07453, allocations: 4 kB / 446.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.07455, allocations: 8 kB / 446.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.07456, allocations: 0 / 446.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.07467, allocations: 39.91 kB / 446.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.07505, allocations: 382.3 kB / 446.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.07526, allocations: 123.9 kB / 446.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.186e-05/0.07534, allocations: 46.5 kB / 447 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.07538, allocations: 12.06 kB / 447 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.07553, allocations: 75.38 kB / 447.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.07554, allocations: 0 / 447.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003181/0.07586, allocations: 149.4 kB / 447.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.0759, allocations: 162.4 kB / 447.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.07614, allocations: 330.6 kB / 447.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.07616, allocations: 33.64 kB / 447.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.07622, allocations: 128.1 kB / 447.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.07625, allocations: 19.8 kB / 447.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.07628, allocations: 13.72 kB / 447.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.07633, allocations: 338.8 kB / 448.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.07639, allocations: 19.98 kB / 448.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.07648, allocations: 86.86 kB / 448.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.07661, allocations: 88.14 kB / 448.4 MB, free: 9.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.07662, allocations: 4 kB / 448.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001852/0.07681, allocations: 121.4 kB / 448.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.07683, allocations: 8.938 kB / 448.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.07684, allocations: 0 / 448.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.07686, allocations: 0 / 448.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.07696, allocations: 19.98 kB / 448.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.07698, allocations: 7.938 kB / 448.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.07705, allocations: 11.97 kB / 448.6 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.07707, allocations: 15.94 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,superSample.y,superSample.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.332e-05/0.07717, allocations: 154.7 kB / 448.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.0772, allocations: 19.72 kB / 448.7 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.07725, allocations: 29.7 kB / 448.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.07726, allocations: 0 / 448.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.07727, allocations: 320 / 448.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.07733, allocations: 108.9 kB / 448.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.07737, allocations: 11.94 kB / 448.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.07744, allocations: 12 kB / 448.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.07749, allocations: 11.98 kB / 448.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002313/0.07773, allocations: 347.3 kB / 449.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002272/0.07797, allocations: 461 kB / 449.7 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.504e-05/0.07806, allocations: 43.97 kB / 449.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.07822, allocations: 241.9 kB / 450 MB, free: 7.684 MB / 298.7 MB Notification: Performance of Backend: time 3.11e-07/0.07823, allocations: 0 / 450 MB, free: 7.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.07948, allocations: 461.8 kB / 450.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006279/0.08012, allocations: 0.8435 MB / 451.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of Templates: time 0.004956/0.08509, allocations: 2.779 MB / 454.1 MB, free: 3.559 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1)