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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 51.92 kB / 371.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2527, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003726/0.2564, allocations: 1.834 MB / 425.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2579, allocations: 0.6428 MB / 426.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.2581, allocations: 7.938 kB / 426.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2583, allocations: 19.73 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.2585, allocations: 27.8 kB / 426.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.2591, allocations: 147.7 kB / 426.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.2594, allocations: 159.5 kB / 426.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2595, allocations: 41.33 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2596, allocations: 59.77 kB / 426.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2598, allocations: 51.7 kB / 426.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.2598, allocations: 15.94 kB / 426.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2599, allocations: 51.97 kB / 426.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.26, allocations: 39.84 kB / 426.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.2601, allocations: 59.66 kB / 427 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.2604, allocations: 202.1 kB / 427.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2604, allocations: 0 / 427.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2604, allocations: 4 kB / 427.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2604, allocations: 0 / 427.2 MB, free: 11.14 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.0007881/0.2612, allocations: 401.6 kB / 427.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2612, allocations: 8.031 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.2613, allocations: 20.8 kB / 427.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.2617, allocations: 191.1 kB / 427.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2617, allocations: 8.562 kB / 427.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.2617, allocations: 20.11 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.2625, allocations: 348.1 kB / 428.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2625, allocations: 0 / 428.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2625, allocations: 4 kB / 428.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2625, allocations: 4 kB / 428.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.2628, allocations: 79.94 kB / 428.2 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.2632, allocations: 269.1 kB / 428.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.2636, allocations: 185.3 kB / 428.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.2638, allocations: 95.97 kB / 428.8 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.2642, allocations: 59.94 kB / 428.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.2643, allocations: 34.56 kB / 428.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.2643, allocations: 0 / 428.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006336/0.2649, allocations: 241.3 kB / 429.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.265, allocations: 110.8 kB / 429.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.2652, allocations: 194.2 kB / 429.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.2652, allocations: 29.7 kB / 429.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.2653, allocations: 108.6 kB / 429.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.2653, allocations: 23.89 kB / 429.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.2654, allocations: 37.7 kB / 429.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2656, allocations: 326.8 kB / 429.9 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.2657, allocations: 43.91 kB / 429.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.2658, allocations: 190.8 kB / 430.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.2661, allocations: 208.1 kB / 430.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2661, allocations: 0 / 430.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003471/0.2665, allocations: 217.5 kB / 430.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2665, allocations: 11.94 kB / 430.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2665, allocations: 4 kB / 430.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2665, allocations: 4 kB / 430.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2667, allocations: 51.84 kB / 430.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2667, allocations: 4 kB / 430.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2668, allocations: 15.95 kB / 430.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.2668, allocations: 8 kB / 430.6 MB, free: 7.312 MB / 334.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.0001535/0.2669, allocations: 161.4 kB / 430.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.2673, allocations: 168.8 kB / 431 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.2676, allocations: 175.3 kB / 431.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.2676, allocations: 7.984 kB / 431.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2676, allocations: 0 / 431.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2676, allocations: 0 / 431.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.2678, allocations: 145.2 kB / 431.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.2678, allocations: 4 kB / 431.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.268, allocations: 47.89 kB / 431.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.268, allocations: 0 / 431.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.268, allocations: 3.938 kB / 431.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.268, allocations: 4 kB / 431.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.268, allocations: 0 / 431.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.2685, allocations: 282.8 kB / 431.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.2685, allocations: 43.8 kB / 431.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2686, allocations: 15.88 kB / 431.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2687, allocations: 19.92 kB / 431.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.2687, allocations: 0 / 431.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.2688, allocations: 11.98 kB / 431.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.2689, allocations: 144.3 kB / 431.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2689, allocations: 0 / 431.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.2692, allocations: 35.94 kB / 431.9 MB, free: 6.004 MB / 334.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.0001636/0.2694, allocations: 111.2 kB / 432 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.2697, allocations: 147.1 kB / 432.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2697, allocations: 0 / 432.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.2698, allocations: 7.984 kB / 432.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.2704, allocations: 142.8 kB / 432.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.271, allocations: 362.8 kB / 432.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2712, allocations: 123.6 kB / 432.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2712, allocations: 19.44 kB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2712, allocations: 0 / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Templates: time 0.004411/0.2756, allocations: 2.289 MB / 435.1 MB, free: 2.762 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.174086621031165]