Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008327/0.0008326, allocations: 87.89 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.6e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09588, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/0.4148, allocations: 76.23 MB / 463.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.4151, allocations: 75.95 kB / 463.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004496/0.4196, allocations: 1.738 MB / 465.5 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4196, allocations: 0 / 465.5 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.4196, allocations: 0 / 465.5 MB, free: 0.8125 MB / 330.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.0003567/0.42, allocations: 375 kB / 465.9 MB, free: 412 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.42, allocations: 8.031 kB / 465.9 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.4201, allocations: 15.77 kB / 465.9 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4203, allocations: 197.5 kB / 466.1 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4203, allocations: 4 kB / 466.1 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.4203, allocations: 0 / 466.1 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/0.4204, allocations: 31.92 kB / 466.1 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4206, allocations: 109.9 kB / 466.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4207, allocations: 4 kB / 466.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4207, allocations: 3.953 kB / 466.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4207, allocations: 0 / 466.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.4211, allocations: 358.4 kB / 466.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.4212, allocations: 63.73 kB / 466.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.4212, allocations: 34.69 kB / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4213, allocations: 4 kB / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4213, allocations: 34.5 kB / 466.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4213, allocations: 0 / 466.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.4215, allocations: 73.48 kB / 466.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4215, allocations: 112 kB / 466.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.4217, allocations: 125.4 kB / 467 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.4217, allocations: 25.7 kB / 467.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.4217, allocations: 100 kB / 467.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.4217, allocations: 4 kB / 467.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4218, allocations: 0 / 467.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.4219, allocations: 314.8 kB / 467.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.4219, allocations: 11.98 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.4219, allocations: 35.44 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.422, allocations: 15.98 kB / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.422, allocations: 0 / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.167e-05/0.4221, allocations: 65.59 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4221, allocations: 16.88 kB / 467.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4221, allocations: 3.938 kB / 467.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4221, allocations: 0 / 467.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.4222, allocations: 15.98 kB / 467.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4222, allocations: 3.953 kB / 467.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.4223, allocations: 11.98 kB / 467.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.4223, allocations: 0 / 467.6 MB, free: 14.41 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.4224, allocations: 109 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.4225, allocations: 57.44 kB / 467.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.4225, allocations: 11.97 kB / 467.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4225, allocations: 0 / 467.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4225, allocations: 0 / 467.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4225, allocations: 3.953 kB / 467.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4227, allocations: 162.1 kB / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4227, allocations: 0 / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.4228, allocations: 15.98 kB / 468 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4228, allocations: 8.031 kB / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4228, allocations: 0 / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4228, allocations: 4 kB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.4228, allocations: 7.984 kB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.423, allocations: 270.9 kB / 468.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.4231, allocations: 97 kB / 468.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.4231, allocations: 0 / 468.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4232, allocations: 13.2 kB / 468.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.4233, allocations: 3.953 kB / 468.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4233, allocations: 4 kB / 468.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.4234, allocations: 111.7 kB / 468.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4234, allocations: 0 / 468.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.4236, allocations: 8 kB / 468.5 MB, free: 13.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.4237, allocations: 103.2 kB / 468.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.912e-05/0.4238, allocations: 31.92 kB / 468.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4238, allocations: 0 / 468.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.4239, allocations: 8 kB / 468.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.4242, allocations: 20.02 kB / 468.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.4245, allocations: 142.8 kB / 468.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.4248, allocations: 0.6964 MB / 469.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.4248, allocations: 16.16 kB / 469.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.4249, allocations: 7.438 kB / 469.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4249, allocations: 0 / 469.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of Templates: time 0.002384/0.4273, allocations: 0.5694 MB / 470.1 MB, free: 11.8 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches