Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008755/0.0008756, allocations: 176.7 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.267/1.267, allocations: 205 MB / 222.6 MB, free: 9.059 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.000734/0.000734, allocations: 104.3 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.06534/0.06534, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07026/0.07061, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.001341/0.07199, allocations: 1.294 MB / 443 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.07263, allocations: 0.4957 MB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.07272, allocations: 4 kB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.07278, allocations: 7.938 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.0729, allocations: 3.984 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.07313, allocations: 35.91 kB / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.07321, allocations: 51.78 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.0733, allocations: 11.98 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.07337, allocations: 11.94 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.07342, allocations: 19.86 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.07344, allocations: 8 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.07346, allocations: 0 / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.07351, allocations: 15.97 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.07354, allocations: 19.81 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.089e-05/0.07362, allocations: 47.75 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.07363, allocations: 0 / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07364, allocations: 4 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.07365, allocations: 0 / 443.7 MB, free: 14.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003558/0.07401, allocations: 367.3 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.07405, allocations: 12.03 kB / 444.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.07409, allocations: 12.84 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.07423, allocations: 201 kB / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.07425, allocations: 384 / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.07426, allocations: 8.375 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.0745, allocations: 121.3 kB / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.07452, allocations: 3.938 kB / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.07454, allocations: 0 / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.07455, allocations: 0 / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.07463, allocations: 23.98 kB / 444.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.07487, allocations: 265.8 kB / 444.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.07503, allocations: 138.2 kB / 444.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.0751, allocations: 33.77 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.07512, allocations: 4 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.07515, allocations: 42.48 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.07515, allocations: 0 / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.07538, allocations: 85.45 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.07541, allocations: 81.23 kB / 445.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.07549, allocations: 139.6 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.413e-06/0.0755, allocations: 29.7 kB / 445.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.07553, allocations: 88.12 kB / 445.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.07555, allocations: 7.906 kB / 445.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.07557, allocations: 13.72 kB / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.07563, allocations: 314.8 kB / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.07568, allocations: 11.98 kB / 445.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.07573, allocations: 43.59 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.07581, allocations: 59.3 kB / 445.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.07582, allocations: 0 / 445.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001134/0.07594, allocations: 65.62 kB / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.07596, allocations: 7.984 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.07597, allocations: 0 / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.07598, allocations: 0 / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.07605, allocations: 16.12 kB / 445.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.07607, allocations: 3.938 kB / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.07611, allocations: 8 kB / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.07612, allocations: 3.984 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.068e-05/0.07618, allocations: 121.8 kB / 446 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.07621, allocations: 7.906 kB / 446 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.07624, allocations: 8.25 kB / 446 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.07625, allocations: 3.984 kB / 446 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.07626, allocations: 8 kB / 446 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.07629, allocations: 89 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.07631, allocations: 0 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.07638, allocations: 4 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.07642, allocations: 3.938 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001455/0.07657, allocations: 236.2 kB / 446.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001358/0.07671, allocations: 310 kB / 446.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.787e-05/0.07677, allocations: 23.92 kB / 446.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.07682, allocations: 110 kB / 446.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of Backend: time 2.71e-07/0.07682, allocations: 0 / 446.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.07719, allocations: 90.39 kB / 446.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003892/0.07759, allocations: 0.6498 MB / 447.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of Templates: time 0.002078/0.07968, allocations: 0.5119 MB / 448 MB, free: 9.621 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1)