Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 111 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 186.5 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2508, allocations: 49.42 MB / 401.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003231/0.2541, allocations: 1.592 MB / 403 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.255, allocations: 466.7 kB / 403.5 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.2551, allocations: 4 kB / 403.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.2552, allocations: 7.938 kB / 403.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2553, allocations: 11.86 kB / 403.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.2556, allocations: 43.89 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.2557, allocations: 43.8 kB / 403.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.2558, allocations: 19.97 kB / 403.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.2559, allocations: 19.92 kB / 403.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.2559, allocations: 19.86 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.2559, allocations: 8 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.256, allocations: 4 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.256, allocations: 8 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.2561, allocations: 27.8 kB / 403.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.2562, allocations: 59.69 kB / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2562, allocations: 0 / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2562, allocations: 0 / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2562, allocations: 0 / 403.7 MB, free: 6.578 MB / 318.1 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.0004908/0.2567, allocations: 372.3 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2568, allocations: 8.031 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.2568, allocations: 12.84 kB / 404.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2571, allocations: 200.1 kB / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.2571, allocations: 384 / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2571, allocations: 4.375 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2574, allocations: 125.3 kB / 404.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2575, allocations: 4 kB / 404.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2575, allocations: 4 kB / 404.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2575, allocations: 0 / 404.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.2576, allocations: 19.98 kB / 404.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.258, allocations: 265.7 kB / 404.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2582, allocations: 134.3 kB / 404.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.2583, allocations: 29.77 kB / 404.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2583, allocations: 4 kB / 404.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2584, allocations: 46.42 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2584, allocations: 0 / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002926/0.2587, allocations: 81.52 kB / 405 MB, free: 5.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.2587, allocations: 77.11 kB / 405.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2589, allocations: 133.8 kB / 405.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2589, allocations: 25.7 kB / 405.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.259, allocations: 92.12 kB / 405.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.259, allocations: 8.031 kB / 405.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.259, allocations: 17.72 kB / 405.4 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2592, allocations: 318.8 kB / 405.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.2592, allocations: 8 kB / 405.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.2593, allocations: 35.42 kB / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.2594, allocations: 51.3 kB / 405.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2594, allocations: 0 / 405.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001638/0.2596, allocations: 73.52 kB / 405.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2596, allocations: 6.812 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2596, allocations: 8.125 kB / 405.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2596, allocations: 0 / 405.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.2597, allocations: 15.94 kB / 405.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2597, allocations: 0 / 405.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.2598, allocations: 11.92 kB / 405.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.2598, allocations: 3.938 kB / 405.9 MB, free: 4.137 MB / 318.1 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 0.0001096/0.2599, allocations: 121.8 kB / 406 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.26, allocations: 7.906 kB / 406 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.26, allocations: 12.23 kB / 406 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.26, allocations: 4 kB / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2601, allocations: 4 kB / 406 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.2601, allocations: 89 kB / 406.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2602, allocations: 4 kB / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.2602, allocations: 4 kB / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2603, allocations: 3.938 kB / 406.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000234/0.2605, allocations: 220.4 kB / 406.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000277/0.2608, allocations: 318.1 kB / 406.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.365e-05/0.2609, allocations: 15.98 kB / 406.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.261, allocations: 107.2 kB / 406.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of Backend: time 1.864e-06/0.261, allocations: 0 / 406.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.2614, allocations: 106.3 kB / 406.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006014/0.2621, allocations: 0.6167 MB / 407.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of Templates: time 0.003043/0.2651, allocations: 0.5619 MB / 408.1 MB, free: 1.852 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1)