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.002104/0.002104, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002596/0.002596, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 18.57 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.532/1.532, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.884e-06/1.884e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.05e-05, allocations: 6.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003864/0.003894, allocations: 1.826 MB / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.005484, allocations: 0.6539 MB / 269.8 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.005653, allocations: 7.938 kB / 269.8 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.005843, allocations: 19.8 kB / 269.8 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.006025, allocations: 27.73 kB / 269.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.006685, allocations: 159.5 kB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.006941, allocations: 151.6 kB / 270.2 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.007093, allocations: 37.78 kB / 270.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.00727, allocations: 83.73 kB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.007387, allocations: 43.83 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.007425, allocations: 12 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.007549, allocations: 51.95 kB / 270.4 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.007645, allocations: 39.84 kB / 270.4 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.007724, allocations: 51.83 kB / 270.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.008093, allocations: 215.2 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.008097, allocations: 0 / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008098, allocations: 4 kB / 270.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.008103, allocations: 0 / 270.7 MB, free: 3.324 MB / 250.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.0008488/0.008952, allocations: 397.6 kB / 271.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.008992, allocations: 8.031 kB / 271.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.009081, allocations: 32.8 kB / 271.1 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.00946, allocations: 189.5 kB / 271.3 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.009481, allocations: 8.562 kB / 271.3 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.009507, allocations: 12.38 kB / 271.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.0103, allocations: 344.8 kB / 271.7 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.01031, allocations: 4 kB / 271.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.01033, allocations: 0 / 271.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01034, allocations: 4 kB / 271.7 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.01062, allocations: 87.81 kB / 271.8 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.01109, allocations: 265.2 kB / 272 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.01161, allocations: 185.3 kB / 272.2 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.01184, allocations: 93.73 kB / 272.3 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/0.01226, allocations: 59.94 kB / 272.4 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.0123, allocations: 38.5 kB / 272.4 MB, free: 1.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.0123, allocations: 0 / 272.4 MB, free: 1.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006932/0.01299, allocations: 244.4 kB / 272.6 MB, free: 1.238 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.01311, allocations: 114.8 kB / 272.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.01335, allocations: 194.3 kB / 272.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.01338, allocations: 25.7 kB / 273 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.01346, allocations: 104.6 kB / 273.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.01349, allocations: 11.91 kB / 273.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.01354, allocations: 21.7 kB / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.01373, allocations: 338.8 kB / 273.4 MB, free: 396 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.0138, allocations: 23.98 kB / 273.4 MB, free: 372 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.01415, allocations: 81.98 kB / 273.5 MB, free: 268 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.0143, allocations: 67.34 kB / 273.6 MB, free: 188 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.0143, allocations: 4 kB / 273.6 MB, free: 184 kB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002413/0.01454, allocations: 117.5 kB / 273.7 MB, free: 60 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.01456, allocations: 4 kB / 273.7 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.01457, allocations: 7.938 kB / 273.7 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01459, allocations: 0 / 273.7 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01469, allocations: 19.92 kB / 273.7 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.0147, allocations: 0 / 273.7 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.01477, allocations: 4 kB / 273.7 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01478, allocations: 4 kB / 273.7 MB, free: 20 kB / 250.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.0001885/0.01497, allocations: 149.1 kB / 273.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.01535, allocations: 161.5 kB / 274 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.01578, allocations: 183.3 kB / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01579, allocations: 0 / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01579, allocations: 0 / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.0158, allocations: 7.984 kB / 274.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.01603, allocations: 149.2 kB / 274.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.01603, allocations: 4 kB / 274.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.0162, allocations: 39.97 kB / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.0162, allocations: 0 / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.01623, allocations: 4 kB / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01623, allocations: 0 / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01623, allocations: 3.938 kB / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.01674, allocations: 298.7 kB / 274.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.01683, allocations: 39.78 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.01687, allocations: 8 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.017, allocations: 15.98 kB / 274.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.01704, allocations: 4 kB / 274.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.01706, allocations: 7.984 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.01723, allocations: 148.3 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01723, allocations: 0 / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.01752, allocations: 20 kB / 275 MB, free: 14.73 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.0002281/0.01774, allocations: 126.6 kB / 275.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.01806, allocations: 103.8 kB / 275.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01806, allocations: 0 / 275.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.01811, allocations: 7.984 kB / 275.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.01881, allocations: 152.4 kB / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.01954, allocations: 326.5 kB / 275.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.01969, allocations: 124 kB / 275.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.511e-05/0.01974, allocations: 9.141 kB / 275.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.01979, allocations: 16.5 kB / 275.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01979, allocations: 0 / 275.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Templates: time 0.006681/0.02647, allocations: 2.458 MB / 278.3 MB, free: 11.39 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/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: 4.488595745060593]