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/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.001052/0.001052, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003608/0.003608, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8871/0.8871, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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) 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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.354e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003407/0.003441, allocations: 1.84 MB / 327.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.004865, allocations: 0.7009 MB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.005008, allocations: 7.938 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.005161, allocations: 19.73 kB / 328.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.005333, allocations: 35.72 kB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.005951, allocations: 175.3 kB / 328.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.006182, allocations: 155.5 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.006337, allocations: 41.77 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.006572, allocations: 79.81 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.006697, allocations: 51.81 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.006729, allocations: 12 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.006851, allocations: 51.95 kB / 328.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.006944, allocations: 39.84 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.007009, allocations: 47.84 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.00734, allocations: 219.2 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.007343, allocations: 4 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007345, allocations: 0 / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.00735, allocations: 0 / 329.3 MB, free: 11.89 MB / 298.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.0007415/0.008091, allocations: 405.5 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.008135, allocations: 11.98 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.008301, allocations: 32.78 kB / 329.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.008649, allocations: 197.1 kB / 329.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.008669, allocations: 12.56 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.008687, allocations: 8.375 kB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.009277, allocations: 353.3 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.009289, allocations: 4 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.009309, allocations: 4 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.009316, allocations: 0 / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.009499, allocations: 90.83 kB / 330.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.009895, allocations: 261.3 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.01031, allocations: 192.5 kB / 330.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.01047, allocations: 89.73 kB / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.01079, allocations: 59.94 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.01082, allocations: 38.78 kB / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.01082, allocations: 4 kB / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005266/0.01135, allocations: 237.3 kB / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.01144, allocations: 121.9 kB / 331.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.01162, allocations: 194.6 kB / 331.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.01164, allocations: 33.7 kB / 331.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.01171, allocations: 104.6 kB / 331.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.01174, allocations: 7.953 kB / 331.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.01179, allocations: 33.78 kB / 331.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.0119, allocations: 326.8 kB / 332 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.01195, allocations: 23.98 kB / 332 MB, free: 8.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.01203, allocations: 89.95 kB / 332.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.591e-05/0.01212, allocations: 67.36 kB / 332.2 MB, free: 8.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01213, allocations: 0 / 332.2 MB, free: 8.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001687/0.0123, allocations: 109.6 kB / 332.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01231, allocations: 8 kB / 332.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01232, allocations: 3.984 kB / 332.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01234, allocations: 0 / 332.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.01241, allocations: 15.94 kB / 332.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01242, allocations: 0 / 332.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.01248, allocations: 19.88 kB / 332.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01248, allocations: 4 kB / 332.3 MB, free: 8.543 MB / 298.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: 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 (7): * Single equations (assignments): 7 * 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.0001267/0.01261, allocations: 145.8 kB / 332.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.01286, allocations: 157.4 kB / 332.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.01317, allocations: 179.4 kB / 332.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01317, allocations: 4 kB / 332.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.01318, allocations: 3.984 kB / 332.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01319, allocations: 0 / 332.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01337, allocations: 153.2 kB / 333 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.01338, allocations: 8 kB / 333 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.01348, allocations: 27.98 kB / 333 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01349, allocations: 0 / 333 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.0135, allocations: 11.94 kB / 333 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.01351, allocations: 3.984 kB / 333 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01351, allocations: 4 kB / 333 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.01385, allocations: 280.1 kB / 333.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.01393, allocations: 39.83 kB / 333.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.01397, allocations: 15.98 kB / 333.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01407, allocations: 7.984 kB / 333.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.0141, allocations: 4 kB / 333.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.01412, allocations: 4 kB / 333.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.01424, allocations: 143.2 kB / 333.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01424, allocations: 0 / 333.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.01458, allocations: 27.95 kB / 333.5 MB, free: 7.281 MB / 298.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 (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.0001798/0.01476, allocations: 123.1 kB / 333.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.01499, allocations: 99.81 kB / 333.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01499, allocations: 4 kB / 333.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.01502, allocations: 8 kB / 333.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.01556, allocations: 152.7 kB / 333.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.01616, allocations: 349.6 kB / 334.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.01628, allocations: 127.8 kB / 334.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.01632, allocations: 16.5 kB / 334.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01632, allocations: 0 / 334.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of Templates: time 0.004427/0.02075, allocations: 2.167 MB / 336.6 MB, free: 4.188 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.345827654004097]