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.00164/0.00164, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001908/0.001908, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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 1.532/1.532, allocations: 177 MB / 204.4 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.492e-06/1.492e-06, allocations: 0 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.176e-05, allocations: 2.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003438/0.00347, allocations: 1.851 MB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.004991, allocations: 0.7009 MB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.005117, allocations: 7.938 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.005265, allocations: 23.73 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.00542, allocations: 31.77 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.005986, allocations: 167.4 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.006229, allocations: 151.5 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.006364, allocations: 45.7 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.006578, allocations: 83.8 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006691, allocations: 47.83 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.006727, allocations: 12 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.006843, allocations: 55.94 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.00693, allocations: 39.84 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.007014, allocations: 47.84 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.007352, allocations: 219.2 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007356, allocations: 0 / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007357, allocations: 0 / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.007362, allocations: 4 kB / 275.7 MB, free: 14.28 MB / 266.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.0007594/0.008121, allocations: 405.6 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.008158, allocations: 11.98 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.008348, allocations: 40.78 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.008711, allocations: 189.4 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.008733, allocations: 12.55 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.008755, allocations: 12.38 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.009515, allocations: 356.7 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.009522, allocations: 4 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.00954, allocations: 4 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.009548, allocations: 4 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.0098, allocations: 79.94 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.01027, allocations: 261.2 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.01074, allocations: 173.1 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.01096, allocations: 97.95 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.01135, allocations: 67.86 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.01138, allocations: 38.56 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.01138, allocations: 0 / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000658/0.01204, allocations: 245.3 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.01214, allocations: 114.1 kB / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.01236, allocations: 198.3 kB / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.01239, allocations: 33.69 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.01248, allocations: 104.6 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.0125, allocations: 11.94 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.01255, allocations: 25.67 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01272, allocations: 330.9 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.01279, allocations: 23.98 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.01291, allocations: 93.89 kB / 278.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.01305, allocations: 71.41 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01305, allocations: 0 / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002194/0.01327, allocations: 117.5 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01329, allocations: 8 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01329, allocations: 0 / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.0133, allocations: 0 / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.01339, allocations: 15.98 kB / 278.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.01339, allocations: 0 / 278.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.01347, allocations: 11.89 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.01348, allocations: 4 kB / 278.8 MB, free: 10.93 MB / 266.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.0001576/0.01363, allocations: 156 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/0.01399, allocations: 157.5 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.01437, allocations: 175.3 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01438, allocations: 3.938 kB / 279.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01438, allocations: 4 kB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01439, allocations: 3.984 kB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.01459, allocations: 153.1 kB / 279.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.01459, allocations: 0 / 279.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.01475, allocations: 35.97 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.01475, allocations: 4 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.01477, allocations: 4 kB / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01477, allocations: 0 / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01477, allocations: 4 kB / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.01525, allocations: 299.3 kB / 279.7 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.01534, allocations: 43.81 kB / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.01537, allocations: 4 kB / 279.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.01551, allocations: 15.98 kB / 279.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.01554, allocations: 4 kB / 279.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.01556, allocations: 4 kB / 279.8 MB, free: 9.812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.01571, allocations: 147.2 kB / 280 MB, free: 9.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01571, allocations: 0 / 280 MB, free: 9.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.01598, allocations: 27.95 kB / 280 MB, free: 9.641 MB / 266.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.0001788/0.01616, allocations: 107.2 kB / 280.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.01646, allocations: 107.8 kB / 280.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01646, allocations: 0 / 280.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.0165, allocations: 15.92 kB / 280.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.01713, allocations: 153.4 kB / 280.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.01779, allocations: 330.4 kB / 280.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.01793, allocations: 128 kB / 280.8 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.576e-05/0.01797, allocations: 9.141 kB / 280.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.01802, allocations: 16.5 kB / 280.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01802, allocations: 0 / 280.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of Templates: time 0.005992/0.02401, allocations: 2.444 MB / 283.3 MB, free: 6.305 MB / 266.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.44204642099794]