Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008229/0.000823, allocations: 175 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.35/1.35, allocations: 205 MB / 222.6 MB, free: 9.148 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.0007004/0.0007003, allocations: 84.62 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.06258/0.06258, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 11.98 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07077/0.07114, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.001289/0.07246, allocations: 1.277 MB / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005908/0.07307, allocations: 0.4957 MB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.07315, allocations: 0 / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.07321, allocations: 7.938 kB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.07332, allocations: 11.92 kB / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.07353, allocations: 39.91 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.07362, allocations: 39.86 kB / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.07371, allocations: 15.97 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.07378, allocations: 19.88 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.07383, allocations: 19.86 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.07385, allocations: 4 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.07387, allocations: 0 / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.07393, allocations: 19.91 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.07396, allocations: 23.81 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.259e-05/0.07404, allocations: 43.81 kB / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.07405, allocations: 0 / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.07406, allocations: 0 / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.07406, allocations: 0 / 443.7 MB, free: 14.37 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.0003488/0.07442, allocations: 371.4 kB / 444.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.07447, allocations: 12.03 kB / 444.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.07451, allocations: 8.844 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.07465, allocations: 200 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.07467, allocations: 12.31 kB / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.07469, allocations: 384 / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.07491, allocations: 113.4 kB / 444.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.07493, allocations: 3.984 kB / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.07494, allocations: 0 / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.07495, allocations: 0 / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.07503, allocations: 23.98 kB / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.07526, allocations: 261.8 kB / 444.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.07534, allocations: 45.14 kB / 444.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.07539, allocations: 21.78 kB / 444.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.07541, allocations: 0 / 444.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.07543, allocations: 42.48 kB / 444.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.07543, allocations: 3.938 kB / 444.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002079/0.07565, allocations: 69.59 kB / 444.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.07567, allocations: 89.03 kB / 445 MB, free: 12.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.07577, allocations: 138.4 kB / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.07578, allocations: 25.7 kB / 445.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.07582, allocations: 84.14 kB / 445.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.07583, allocations: 7.984 kB / 445.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.07586, allocations: 13.72 kB / 445.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.07591, allocations: 310.8 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.07595, allocations: 11.98 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.07599, allocations: 25.72 kB / 445.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.07607, allocations: 29.7 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.07608, allocations: 7.938 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.07619, allocations: 65.59 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.07621, allocations: 4 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.07622, allocations: 0 / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.07623, allocations: 3.984 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.07635, allocations: 8 kB / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.07637, allocations: 0 / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.07642, allocations: 4 kB / 445.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.07643, allocations: 3.938 kB / 445.7 MB, free: 12.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.412e-05/0.07649, allocations: 129.8 kB / 445.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.07652, allocations: 7.906 kB / 445.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.07655, allocations: 11.83 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.07656, allocations: 3.984 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.07657, allocations: 0 / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.07661, allocations: 93 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.07663, allocations: 0 / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.0767, allocations: 7.984 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.07674, allocations: 3.938 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001358/0.07688, allocations: 224.2 kB / 446.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001358/0.07703, allocations: 306.1 kB / 446.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.504e-05/0.07708, allocations: 11.98 kB / 446.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.512e-05/0.07714, allocations: 115.2 kB / 446.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of Backend: time 3.21e-07/0.07714, allocations: 0 / 446.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.07752, allocations: 86.38 kB / 446.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004038/0.07793, allocations: 0.6265 MB / 447.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of Templates: time 0.002078/0.08002, allocations: 0.5297 MB / 447.8 MB, free: 9.887 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1)