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.0009495/0.0009495, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001045/0.001045, allocations: 145.1 kB / 24.54 MB, free: 32 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.003/1.003, allocations: 173.4 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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.262e-06/1.262e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.049e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002358/0.002378, allocations: 1.876 MB / 269.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.003337, allocations: 0.6696 MB / 270.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.003431, allocations: 7.938 kB / 270.6 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.003572, allocations: 19.8 kB / 270.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.003714, allocations: 31.8 kB / 270.6 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.004199, allocations: 163.4 kB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.004381, allocations: 143.6 kB / 270.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.00451, allocations: 37.77 kB / 271 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.004627, allocations: 79.8 kB / 271 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.004718, allocations: 43.83 kB / 271.1 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.004743, allocations: 12 kB / 271.1 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.004829, allocations: 59.89 kB / 271.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.0049, allocations: 43.84 kB / 271.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.004948, allocations: 39.84 kB / 271.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.005154, allocations: 143.5 kB / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005156, allocations: 0 / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.005158, allocations: 3.984 kB / 271.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005162, allocations: 3.938 kB / 271.4 MB, free: 3.043 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.0005378/0.0057, allocations: 495.9 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.005734, allocations: 8.031 kB / 271.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.005788, allocations: 32.8 kB / 271.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.005993, allocations: 192.3 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.006014, allocations: 12.5 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.006028, allocations: 4.375 kB / 272.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.006416, allocations: 291.5 kB / 272.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.006423, allocations: 0 / 272.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.006437, allocations: 8 kB / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.006444, allocations: 0 / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.006506, allocations: 27.97 kB / 272.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.006806, allocations: 319.3 kB / 272.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.007024, allocations: 142.2 kB / 272.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.007097, allocations: 67.41 kB / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.007325, allocations: 55.94 kB / 273 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.007355, allocations: 37.39 kB / 273 MB, free: 1.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.007356, allocations: 0 / 273 MB, free: 1.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002709/0.007627, allocations: 148.4 kB / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.007694, allocations: 114.8 kB / 273.3 MB, free: 0.918 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.007833, allocations: 237.7 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.007847, allocations: 33.7 kB / 273.6 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.007905, allocations: 151.3 kB / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.007923, allocations: 11.95 kB / 273.7 MB, free: 476 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.007955, allocations: 23.38 kB / 273.7 MB, free: 444 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.008078, allocations: 0.4961 MB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.008097, allocations: 11.98 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.008142, allocations: 80.08 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.008189, allocations: 58.7 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.008191, allocations: 0 / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.068e-05/0.008271, allocations: 73.53 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.008284, allocations: 8 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.008288, allocations: 0 / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.008298, allocations: 0 / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.008365, allocations: 15.98 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.00837, allocations: 4.125 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.00841, allocations: 15.88 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.008417, allocations: 4 kB / 274.5 MB, free: 15.61 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 8.579e-05/0.008502, allocations: 172.5 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.008627, allocations: 113.4 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.008799, allocations: 142.1 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.008803, allocations: 4 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.008807, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.00881, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.008941, allocations: 164.5 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.008947, allocations: 4 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.009035, allocations: 27.98 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.00904, allocations: 4 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.009052, allocations: 0 / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.009054, allocations: 0 / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.009058, allocations: 7.984 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.009294, allocations: 287.3 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.009347, allocations: 39.83 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.00937, allocations: 8 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.009436, allocations: 11.98 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.009464, allocations: 4 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.009475, allocations: 4 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.206e-05/0.009567, allocations: 172.2 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.009567, allocations: 3.938 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.009757, allocations: 31.94 kB / 275.7 MB, free: 14.35 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.000119/0.009876, allocations: 115.2 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.01001, allocations: 51.86 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01001, allocations: 8 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.01002, allocations: 15.69 kB / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.01037, allocations: 124.7 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.01094, allocations: 302.9 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.01099, allocations: 80.05 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.511e-05/0.01103, allocations: 21.19 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.01106, allocations: 16.5 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01106, allocations: 0 / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Templates: time 0.004105/0.01517, allocations: 2.594 MB / 279 MB, free: 10.99 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8637466598302126]