Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, 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.235/1.235, 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.0007212/0.0007213, allocations: 86.28 kB / 270.5 MB, free: 8.676 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.06303/0.06303, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003609, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07/0.07037, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001366/0.07177, allocations: 1.273 MB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.07246, allocations: 0.5308 MB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.07258, allocations: 4 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.07263, allocations: 3.938 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.07274, allocations: 7.922 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.07298, allocations: 39.91 kB / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.07306, allocations: 47.8 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.07314, allocations: 19.97 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.07321, allocations: 15.94 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.07326, allocations: 19.86 kB / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.07329, allocations: 0 / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.0733, allocations: 4 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.07335, allocations: 19.91 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.07338, allocations: 19.81 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.005e-05/0.07346, allocations: 43.81 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.07347, allocations: 0 / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.07348, allocations: 0 / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.07348, allocations: 0 / 443.7 MB, free: 14.33 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.000331/0.07382, allocations: 371.4 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.07386, allocations: 8.031 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.0739, allocations: 8.844 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.07404, allocations: 207.9 kB / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.07406, allocations: 384 / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.07408, allocations: 8.375 kB / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.07429, allocations: 109.3 kB / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.07431, allocations: 0 / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.07433, allocations: 0 / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.07434, allocations: 7.984 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.07441, allocations: 23.98 kB / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.07464, allocations: 269.7 kB / 444.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.154e-05/0.07471, allocations: 37.22 kB / 444.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.07476, allocations: 29.7 kB / 444.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.07479, allocations: 7.938 kB / 444.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.07481, allocations: 34.56 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.07482, allocations: 0 / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002116/0.07503, allocations: 73.52 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.07506, allocations: 85.36 kB / 445 MB, free: 12.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.07515, allocations: 134.2 kB / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.07517, allocations: 25.7 kB / 445.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.0752, allocations: 92.12 kB / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.07521, allocations: 0 / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.07524, allocations: 9.719 kB / 445.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.07529, allocations: 318.8 kB / 445.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.07534, allocations: 11.98 kB / 445.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.07538, allocations: 21.72 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.07545, allocations: 33.64 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.07546, allocations: 3.938 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.07557, allocations: 65.64 kB / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.07559, allocations: 4 kB / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.0756, allocations: 0 / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.07562, allocations: 4 kB / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.07569, allocations: 7.938 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.0757, allocations: 0 / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.07575, allocations: 8.062 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.07576, allocations: 7.984 kB / 445.7 MB, free: 12.07 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 4.984e-05/0.07581, allocations: 118.6 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.07585, allocations: 7.906 kB / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.07588, allocations: 15.83 kB / 445.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.07589, allocations: 3.984 kB / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.07589, allocations: 0 / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.07593, allocations: 93 kB / 446 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.07595, allocations: 4 kB / 446 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.07602, allocations: 4 kB / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.07606, allocations: 7.938 kB / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001348/0.0762, allocations: 212.2 kB / 446.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001351/0.07635, allocations: 314.1 kB / 446.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.387e-05/0.0764, allocations: 11.94 kB / 446.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.07645, allocations: 107.2 kB / 446.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of Backend: time 3.7e-07/0.07646, allocations: 0 / 446.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.07682, allocations: 90.42 kB / 446.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004001/0.07723, allocations: 0.6304 MB / 447.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of Templates: time 0.00205/0.0793, allocations: 0.5188 MB / 447.8 MB, free: 9.855 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)