Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009386/0.0009383, allocations: 176.4 kB / 8.349 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.34/1.34, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0008899/0.00089, allocations: 88.27 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.459e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.09968, allocations: 50.41 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.3935, allocations: 75.78 MB / 463.2 MB, free: 3.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.3938, allocations: 79.94 kB / 463.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00281/0.3966, allocations: 1.153 MB / 464.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3966, allocations: 0 / 464.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3966, allocations: 3.938 kB / 464.5 MB, free: 1.844 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.0003551/0.397, allocations: 347 kB / 464.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.397, allocations: 12.03 kB / 464.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3971, allocations: 15.86 kB / 464.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3973, allocations: 187.4 kB / 465 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.3973, allocations: 0 / 465 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3973, allocations: 4 kB / 465 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.529e-05/0.3974, allocations: 15.94 kB / 465 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.3976, allocations: 100.9 kB / 465.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3977, allocations: 4 kB / 465.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3977, allocations: 0 / 465.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3977, allocations: 3.953 kB / 465.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.3981, allocations: 246.4 kB / 465.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3983, allocations: 134.2 kB / 465.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.3984, allocations: 21.78 kB / 465.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3984, allocations: 0 / 465.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3984, allocations: 38.56 kB / 465.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3984, allocations: 0 / 465.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001835/0.3986, allocations: 57.58 kB / 465.6 MB, free: 496 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.3987, allocations: 85.14 kB / 465.7 MB, free: 392 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3988, allocations: 114.4 kB / 465.8 MB, free: 268 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3988, allocations: 25.7 kB / 465.9 MB, free: 236 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.3989, allocations: 88.12 kB / 465.9 MB, free: 144 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.3989, allocations: 4 kB / 465.9 MB, free: 140 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.3989, allocations: 0 / 465.9 MB, free: 140 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.399, allocations: 310.8 kB / 466.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.3991, allocations: 8 kB / 466.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.3991, allocations: 31.42 kB / 466.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.3991, allocations: 8 kB / 466.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3991, allocations: 3.938 kB / 466.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.032e-05/0.3992, allocations: 45.67 kB / 466.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3992, allocations: 17.39 kB / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3992, allocations: 0 / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3993, allocations: 0 / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.3993, allocations: 16 kB / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3994, allocations: 3.953 kB / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.3994, allocations: 4 kB / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3994, allocations: 0 / 466.4 MB, free: 15.67 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 7.401e-05/0.3995, allocations: 108.9 kB / 466.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.3996, allocations: 53.47 kB / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.3996, allocations: 12.34 kB / 466.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3996, allocations: 3.984 kB / 466.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3996, allocations: 0 / 466.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3996, allocations: 7.953 kB / 466.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.3998, allocations: 138.2 kB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3998, allocations: 0 / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.3998, allocations: 15.98 kB / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3999, allocations: 0 / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3999, allocations: 0 / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3999, allocations: 4 kB / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3999, allocations: 4 kB / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.4, allocations: 166 kB / 466.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.4001, allocations: 92.94 kB / 467 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.4001, allocations: 0 / 467 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.4002, allocations: 11.94 kB / 467 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.4002, allocations: 4.219 kB / 467 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4002, allocations: 0 / 467 MB, free: 14.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.4003, allocations: 104.5 kB / 467.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4003, allocations: 0 / 467.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.4005, allocations: 7.953 kB / 467.1 MB, free: 14.86 MB / 346.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 () * 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.0001328/0.4007, allocations: 98.2 kB / 467.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.052e-05/0.4008, allocations: 19.92 kB / 467.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4008, allocations: 8.25 kB / 467.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.4008, allocations: 0 / 467.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.4011, allocations: 25.91 kB / 467.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.4013, allocations: 88.91 kB / 467.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.4015, allocations: 0.6924 MB / 468 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.442e-05/0.4015, allocations: 7.938 kB / 468 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.4016, allocations: 11.5 kB / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4016, allocations: 0 / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of Templates: time 0.002265/0.4039, allocations: 416.9 kB / 468.5 MB, free: 13.45 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches