Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.563/1.563, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3526, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003922/0.3565, allocations: 1.901 MB / 434 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3581, allocations: 0.7556 MB / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.3583, allocations: 11.94 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3584, allocations: 19.8 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.3586, allocations: 23.8 kB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.3592, allocations: 163.6 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.3594, allocations: 155.5 kB / 435.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3596, allocations: 41.53 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.3597, allocations: 59.77 kB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3599, allocations: 63.64 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.3599, allocations: 16 kB / 435.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.36, allocations: 55.95 kB / 435.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.395e-05/0.3601, allocations: 47.83 kB / 435.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.3602, allocations: 67.55 kB / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3605, allocations: 213 kB / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3605, allocations: 0 / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3605, allocations: 0 / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3605, allocations: 0 / 435.6 MB, free: 3.785 MB / 334.1 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.0008715/0.3614, allocations: 486.7 kB / 436.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3615, allocations: 8.031 kB / 436.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.3616, allocations: 36.78 kB / 436.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.362, allocations: 251.9 kB / 436.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3621, allocations: 8.562 kB / 436.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3621, allocations: 12.12 kB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.3628, allocations: 329.5 kB / 436.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3628, allocations: 0 / 436.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3628, allocations: 4 kB / 436.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3628, allocations: 4 kB / 436.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.3631, allocations: 83.88 kB / 436.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.3636, allocations: 349.5 kB / 437.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.3641, allocations: 258.3 kB / 437.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.3643, allocations: 100.4 kB / 437.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/0.365, allocations: 0.5817 MB / 438.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.365, allocations: 34.56 kB / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/0.365, allocations: 0 / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006721/0.3657, allocations: 244 kB / 438.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.3658, allocations: 122.7 kB / 438.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.366, allocations: 191.8 kB / 438.7 MB, free: 368 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3661, allocations: 29.7 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.3662, allocations: 96.58 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.3662, allocations: 24.02 kB / 438.8 MB, free: 204 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.3662, allocations: 41.7 kB / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3664, allocations: 326.8 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/0.3665, allocations: 39.97 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3667, allocations: 161.1 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3671, allocations: 208.1 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3671, allocations: 0 / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003828/0.3675, allocations: 221.5 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3675, allocations: 8 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3675, allocations: 7.984 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.3675, allocations: 7.984 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3677, allocations: 47.86 kB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3677, allocations: 4 kB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3678, allocations: 27.81 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.3678, allocations: 12 kB / 439.9 MB, free: 14.97 MB / 350.1 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 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.368, allocations: 145.9 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.3684, allocations: 169.3 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.3688, allocations: 182.4 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3688, allocations: 4 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3688, allocations: 0 / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3688, allocations: 0 / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3691, allocations: 225.5 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3691, allocations: 7.938 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3692, allocations: 35.91 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3692, allocations: 4 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3692, allocations: 4 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3692, allocations: 0 / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.3692, allocations: 4 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.3697, allocations: 284.1 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.3699, allocations: 116.9 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.3699, allocations: 11.94 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.37, allocations: 7.984 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.3701, allocations: 4 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.3701, allocations: 19.92 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3703, allocations: 147 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3703, allocations: 8 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.3706, allocations: 31.94 kB / 441.3 MB, free: 13.48 MB / 350.1 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 (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.0002786/0.3709, allocations: 119.2 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004027/0.3713, allocations: 134 kB / 441.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3713, allocations: 4.062 kB / 441.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.3713, allocations: 11.98 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.372, allocations: 145.5 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/0.3727, allocations: 343.3 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.3732, allocations: 0.7362 MB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.3732, allocations: 21.53 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.3733, allocations: 19.44 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3733, allocations: 0 / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Templates: time 0.007178/0.3805, allocations: 2.45 MB / 445.3 MB, free: 9.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.12112238490954]