Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 201.8 kB / 8.767 MB, free: 288 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007743/0.0007745, allocations: 97.34 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.791e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.4152, allocations: 78.81 MB / 474 MB, free: 13.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4154, allocations: 80.8 kB / 474.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01225/0.4277, allocations: 4.862 MB / 478.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4277, allocations: 7.938 kB / 478.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4277, allocations: 0 / 478.9 MB, free: 10.23 MB / 346.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.0004037/0.4281, allocations: 443.8 kB / 479.4 MB, free: 9.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4282, allocations: 12.03 kB / 479.4 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.4283, allocations: 35.7 kB / 479.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.4286, allocations: 237.1 kB / 479.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4286, allocations: 7.609 kB / 479.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4286, allocations: 4 kB / 479.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/0.4288, allocations: 56.73 kB / 479.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.4292, allocations: 267.5 kB / 480 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4292, allocations: 0 / 480 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.4292, allocations: 3.984 kB / 480 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.4293, allocations: 4 kB / 480 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.4297, allocations: 328.9 kB / 480.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.4299, allocations: 212.6 kB / 480.5 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.43, allocations: 88.06 kB / 480.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.4305, allocations: 0.5853 MB / 481.2 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.4305, allocations: 42.59 kB / 481.2 MB, free: 7.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.4305, allocations: 0 / 481.2 MB, free: 7.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002712/0.4308, allocations: 139.2 kB / 481.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.4308, allocations: 110.6 kB / 481.5 MB, free: 7.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4309, allocations: 166.9 kB / 481.6 MB, free: 7.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.431, allocations: 25.7 kB / 481.7 MB, free: 7.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.431, allocations: 103.3 kB / 481.8 MB, free: 7.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.431, allocations: 15.33 kB / 481.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.4311, allocations: 3.938 kB / 481.8 MB, free: 7.305 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.4311, allocations: 329.2 kB / 482.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.4312, allocations: 37.92 kB / 482.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.374e-05/0.4312, allocations: 150 kB / 482.3 MB, free: 6.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.4313, allocations: 61.94 kB / 482.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4313, allocations: 4 kB / 482.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002023/0.4315, allocations: 175.7 kB / 482.5 MB, free: 6.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4316, allocations: 8 kB / 482.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4316, allocations: 4 kB / 482.5 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4316, allocations: 4 kB / 482.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4317, allocations: 50.41 kB / 482.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.4318, allocations: 7.938 kB / 482.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4319, allocations: 20.31 kB / 482.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4319, allocations: 18.88 kB / 482.6 MB, free: 6.457 MB / 346.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 () * 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 6.698e-05/0.432, allocations: 112.9 kB / 482.7 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4321, allocations: 139.6 kB / 482.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.4324, allocations: 148.3 kB / 483 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4324, allocations: 4 kB / 483 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4324, allocations: 1.781 kB / 483 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4324, allocations: 0 / 483 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.4326, allocations: 206 kB / 483.2 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4326, allocations: 3.938 kB / 483.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.4327, allocations: 31.98 kB / 483.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4327, allocations: 0 / 483.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4327, allocations: 7.984 kB / 483.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4328, allocations: 3.938 kB / 483.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4328, allocations: 0 / 483.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.433, allocations: 272 kB / 483.5 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.4331, allocations: 111.8 kB / 483.6 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.4331, allocations: 10.75 kB / 483.7 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4332, allocations: 11.98 kB / 483.7 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.4333, allocations: 0 / 483.7 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.4333, allocations: 4 kB / 483.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.4334, allocations: 142.3 kB / 483.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4334, allocations: 0 / 483.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.4337, allocations: 31.94 kB / 483.8 MB, free: 5.289 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * 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.0001324/0.4338, allocations: 107.2 kB / 483.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.434, allocations: 114.9 kB / 484.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.434, allocations: 0 / 484.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.434, allocations: 192 / 484.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.4344, allocations: 132.7 kB / 484.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.4347, allocations: 209.7 kB / 484.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.4349, allocations: 0.739 MB / 485.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.4349, allocations: 21.33 kB / 485.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.435, allocations: 23.36 kB / 485.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.435, allocations: 0 / 485.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of Templates: time 0.003851/0.4388, allocations: 1.964 MB / 487.1 MB, free: 2.082 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches