Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 175.8 kB / 16.77 MB, free: 5.051 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.446/1.446, allocations: 205 MB / 222.6 MB, free: 9.156 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.000715/0.0007151, allocations: 91.92 kB / 270.5 MB, free: 8.68 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.06684/0.06684, allocations: 12.57 MB / 331 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 8 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07134/0.07171, allocations: 49.97 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample): time 0.001735/0.07348, allocations: 1.594 MB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.07471, allocations: 1.038 MB / 444.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.07482, allocations: 0 / 444.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.07512, allocations: 67.73 kB / 444.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.07529, allocations: 75.78 kB / 444.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.0758, allocations: 215.6 kB / 444.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.07595, allocations: 147.6 kB / 444.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.07605, allocations: 29.55 kB / 444.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.07613, allocations: 59.64 kB / 444.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.07622, allocations: 71.69 kB / 445 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.07624, allocations: 4 kB / 445 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.07636, allocations: 63.89 kB / 445 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.07643, allocations: 43.84 kB / 445.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.07649, allocations: 75.41 kB / 445.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.07669, allocations: 219.5 kB / 445.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.07671, allocations: 0 / 445.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.07671, allocations: 0 / 445.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.07672, allocations: 0 / 445.4 MB, free: 12.71 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.0005139/0.07724, allocations: 0.4961 MB / 445.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.07728, allocations: 8.031 kB / 445.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.07734, allocations: 28.66 kB / 445.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.07759, allocations: 279.6 kB / 446.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.07762, allocations: 8.375 kB / 446.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.07764, allocations: 8.125 kB / 446.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.07792, allocations: 159.5 kB / 446.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.07794, allocations: 0 / 446.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.07796, allocations: 0 / 446.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.07797, allocations: 4 kB / 446.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.07807, allocations: 35.97 kB / 446.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.07846, allocations: 394.2 kB / 446.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.07866, allocations: 119.9 kB / 446.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.07874, allocations: 46.56 kB / 446.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.07878, allocations: 0 / 446.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.07897, allocations: 83.31 kB / 447 MB, free: 10.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.07898, allocations: 0 / 447 MB, free: 10.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003132/0.0793, allocations: 149.6 kB / 447.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.07934, allocations: 162.5 kB / 447.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.07958, allocations: 330.6 kB / 447.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.0796, allocations: 33.64 kB / 447.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.07966, allocations: 124.1 kB / 447.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.07968, allocations: 15.8 kB / 447.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.07971, allocations: 17.72 kB / 447.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.07977, allocations: 342.7 kB / 448.2 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.07984, allocations: 23.98 kB / 448.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.07992, allocations: 90.78 kB / 448.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.08005, allocations: 84.22 kB / 448.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.08006, allocations: 0 / 448.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001871/0.08026, allocations: 125.4 kB / 448.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.08028, allocations: 4.625 kB / 448.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.08029, allocations: 4 kB / 448.5 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.08031, allocations: 0 / 448.5 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.0804, allocations: 19.98 kB / 448.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.08042, allocations: 0 / 448.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.08049, allocations: 15.97 kB / 448.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.08051, allocations: 7.938 kB / 448.5 MB, free: 9.191 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,subSample.y,subSample.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 8.977e-05/0.0806, allocations: 158.6 kB / 448.7 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.08064, allocations: 23.72 kB / 448.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.08069, allocations: 25.7 kB / 448.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0807, allocations: 4 kB / 448.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.0807, allocations: 0 / 448.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.08077, allocations: 108.9 kB / 448.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.08081, allocations: 15.94 kB / 448.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.08087, allocations: 0 / 448.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.08092, allocations: 7.984 kB / 448.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002268/0.08116, allocations: 355.4 kB / 449.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002267/0.08139, allocations: 457 kB / 449.7 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.278e-05/0.08149, allocations: 52.16 kB / 449.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.08165, allocations: 245.9 kB / 450 MB, free: 7.715 MB / 298.7 MB Notification: Performance of Backend: time 5.11e-07/0.08166, allocations: 0 / 450 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.0829, allocations: 453.8 kB / 450.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006132/0.08352, allocations: 0.8512 MB / 451.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of Templates: time 0.004919/0.08845, allocations: 2.783 MB / 454 MB, free: 3.586 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1)