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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001305, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 106 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009631/0.0009635, allocations: 39.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3415, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003455/0.3449, allocations: 1.626 MB / 401.1 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.3459, allocations: 465.5 kB / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.346, allocations: 0 / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.686e-05/0.3461, allocations: 3.938 kB / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3463, allocations: 15.91 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.3467, allocations: 41.31 kB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3468, allocations: 39.86 kB / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3469, allocations: 15.98 kB / 401.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.347, allocations: 15.94 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.3471, allocations: 23.84 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3471, allocations: 6.406 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.3472, allocations: 0 / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.3472, allocations: 15.92 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.3473, allocations: 23.81 kB / 401.8 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3474, allocations: 55.73 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3475, allocations: 0 / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3475, allocations: 4 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.3475, allocations: 3.938 kB / 401.8 MB, free: 31.02 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.0004903/0.348, allocations: 368.8 kB / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.348, allocations: 12.03 kB / 402.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3481, allocations: 8.844 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3483, allocations: 192.1 kB / 402.4 MB, free: 30.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3483, allocations: 384 / 402.4 MB, free: 30.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3483, allocations: 4.375 kB / 402.4 MB, free: 30.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3486, allocations: 133.3 kB / 402.5 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3487, allocations: 0 / 402.5 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3487, allocations: 0 / 402.5 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3487, allocations: 0 / 402.5 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3488, allocations: 19.98 kB / 402.5 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.3491, allocations: 273.7 kB / 402.8 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.3494, allocations: 130.3 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.3495, allocations: 33.77 kB / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3495, allocations: 4 kB / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.3495, allocations: 38.5 kB / 403 MB, free: 29.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.3496, allocations: 3.938 kB / 403 MB, free: 29.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003505/0.3499, allocations: 77.7 kB / 403.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.35, allocations: 81.09 kB / 403.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3501, allocations: 143 kB / 403.3 MB, free: 29.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3501, allocations: 29.7 kB / 403.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.3502, allocations: 92.05 kB / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.3502, allocations: 0 / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3502, allocations: 21.7 kB / 403.4 MB, free: 29.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.3503, allocations: 318.8 kB / 403.8 MB, free: 28.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.3504, allocations: 11.98 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.3504, allocations: 31.44 kB / 403.8 MB, free: 28.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3506, allocations: 43.36 kB / 403.8 MB, free: 28.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3506, allocations: 0 / 403.8 MB, free: 28.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001853/0.3508, allocations: 81.52 kB / 403.9 MB, free: 28.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3508, allocations: 10.81 kB / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3508, allocations: 3.938 kB / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3509, allocations: 0 / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.351, allocations: 11.98 kB / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.351, allocations: 0 / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.351, allocations: 7.938 kB / 404 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3511, allocations: 4 kB / 404 MB, free: 28.58 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 7.272e-05/0.3512, allocations: 133.8 kB / 404.1 MB, free: 28.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.3513, allocations: 45.61 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.3513, allocations: 20.17 kB / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3513, allocations: 0 / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3513, allocations: 0 / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3513, allocations: 0 / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.3515, allocations: 177.6 kB / 404.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3515, allocations: 0 / 404.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-05/0.3516, allocations: 11.98 kB / 404.3 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3516, allocations: 0 / 404.3 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.3517, allocations: 4 kB / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3517, allocations: 0 / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3517, allocations: 0 / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.3521, allocations: 0.7364 MB / 405.1 MB, free: 27.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.3522, allocations: 93 kB / 405.2 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.3522, allocations: 11.94 kB / 405.2 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3523, allocations: 3.984 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3524, allocations: 3.938 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3524, allocations: 4 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.882e-05/0.3525, allocations: 107.2 kB / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3525, allocations: 0 / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.3531, allocations: 4 kB / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000112/0.3532, allocations: 99.25 kB / 405.4 MB, free: 26.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3534, allocations: 31.92 kB / 405.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3534, allocations: 0 / 405.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.3535, allocations: 19.92 kB / 405.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.3541, allocations: 20.02 kB / 405.5 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.3547, allocations: 292.5 kB / 405.8 MB, free: 26.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.3548, allocations: 0.6887 MB / 406.4 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.3549, allocations: 12.22 kB / 406.5 MB, free: 25.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.3549, allocations: 7.438 kB / 406.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.355, allocations: 8 kB / 406.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of Templates: time 0.003287/0.3583, allocations: 0.4942 MB / 407 MB, free: 25.35 MB / 298.7 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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches