Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 176.4 kB / 17.4 MB, free: 4.426 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.409/1.409, allocations: 223.3 MB / 241.4 MB, free: 11.73 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.0008533/0.0008535, allocations: 108.3 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 15.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2542, allocations: 50.41 MB / 402.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3593, allocations: 78.77 MB / 481.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.3597, allocations: 83.95 kB / 481.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.3733, allocations: 4.802 MB / 486.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3733, allocations: 4 kB / 486.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.3734, allocations: 4 kB / 486.4 MB, free: 12.72 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006801/0.3741, allocations: 462.9 kB / 486.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3741, allocations: 12.03 kB / 486.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.3742, allocations: 20.66 kB / 486.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.3746, allocations: 251.9 kB / 487.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.3746, allocations: 8.562 kB / 487.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3746, allocations: 8.375 kB / 487.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.3754, allocations: 343.6 kB / 487.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3754, allocations: 0 / 487.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3754, allocations: 4 kB / 487.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3754, allocations: 4 kB / 487.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.3757, allocations: 91.94 kB / 487.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.3762, allocations: 353.5 kB / 487.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.3767, allocations: 274.5 kB / 488.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.3769, allocations: 109.8 kB / 488.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/0.3774, allocations: 0.5778 MB / 488.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3775, allocations: 38.56 kB / 488.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.3775, allocations: 0 / 488.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006235/0.3781, allocations: 259.9 kB / 489.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3782, allocations: 110.8 kB / 489.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3784, allocations: 200.4 kB / 489.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3785, allocations: 33.77 kB / 489.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.3785, allocations: 104.5 kB / 489.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3786, allocations: 15.89 kB / 489.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.3786, allocations: 8 kB / 489.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3787, allocations: 334.8 kB / 490 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.3788, allocations: 31.98 kB / 490 MB, free: 8.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.379, allocations: 169.1 kB / 490.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.3792, allocations: 204.1 kB / 490.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3792, allocations: 0 / 490.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000365/0.3796, allocations: 225 kB / 490.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3796, allocations: 7.938 kB / 490.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3797, allocations: 8 kB / 490.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3797, allocations: 8.594 kB / 490.6 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3798, allocations: 47.86 kB / 490.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.3799, allocations: 11.94 kB / 490.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.38, allocations: 23.83 kB / 490.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.38, allocations: 8 kB / 490.7 MB, free: 7.898 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.000159/0.3802, allocations: 147.2 kB / 490.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/0.3805, allocations: 169.3 kB / 491 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.3809, allocations: 187.3 kB / 491.2 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.381, allocations: 4 kB / 491.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.381, allocations: 0 / 491.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.381, allocations: 7.938 kB / 491.2 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3812, allocations: 233.4 kB / 491.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.3813, allocations: 4 kB / 491.4 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3814, allocations: 31.97 kB / 491.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3814, allocations: 7.938 kB / 491.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3814, allocations: 0 / 491.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3814, allocations: 0 / 491.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3814, allocations: 0 / 491.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.3819, allocations: 305.7 kB / 491.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.382, allocations: 112.9 kB / 491.9 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.382, allocations: 19.92 kB / 491.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3822, allocations: 12 kB / 491.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.3822, allocations: 0 / 491.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3822, allocations: 7.984 kB / 491.9 MB, free: 6.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3824, allocations: 143.4 kB / 492.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3824, allocations: 0 / 492.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.3827, allocations: 35.94 kB / 492.1 MB, free: 6.395 MB / 362.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002056/0.3829, allocations: 127.2 kB / 492.2 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.3833, allocations: 148.8 kB / 492.4 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3833, allocations: 4.062 kB / 492.4 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.3834, allocations: 15.98 kB / 492.4 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.384, allocations: 154.7 kB / 492.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.3848, allocations: 375 kB / 492.9 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3851, allocations: 0.7363 MB / 493.6 MB, free: 4.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.3852, allocations: 13.55 kB / 493.7 MB, free: 4.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.3852, allocations: 15.44 kB / 493.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3852, allocations: 4 kB / 493.7 MB, free: 4.746 MB / 362.7 MB Notification: Performance of Templates: time 0.005389/0.3906, allocations: 2.105 MB / 495.8 MB, free: 2.656 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches