Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001923/0.001923, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.00259/0.00259, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.579/1.579, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 71.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4396, allocations: 53.31 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003234/0.4428, allocations: 1.621 MB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.4441, allocations: 0.5687 MB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.4442, allocations: 7.938 kB / 434.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.111e-05/0.4442, allocations: 7.922 kB / 434.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.4444, allocations: 7.875 kB / 434.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.4448, allocations: 67.81 kB / 434.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.4449, allocations: 47.84 kB / 434.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4451, allocations: 12.17 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.4452, allocations: 31.8 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.4453, allocations: 23.86 kB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.4453, allocations: 11.92 kB / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.822e-05/0.4453, allocations: 4 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.4454, allocations: 11.98 kB / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.4454, allocations: 31.75 kB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.4456, allocations: 61.64 kB / 434.6 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4456, allocations: 4 kB / 434.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4456, allocations: 0 / 434.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4456, allocations: 0 / 434.6 MB, free: 4.867 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000632/0.4463, allocations: 379.1 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4463, allocations: 8.031 kB / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.4465, allocations: 20.88 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4468, allocations: 208.7 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4468, allocations: 8.375 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.4469, allocations: 3.938 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.4472, allocations: 109.9 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4472, allocations: 0 / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.4472, allocations: 4 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4472, allocations: 4 kB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.4473, allocations: 23.92 kB / 435.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.4477, allocations: 274.5 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.4479, allocations: 75.77 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.4479, allocations: 30.62 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.448, allocations: 0 / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.448, allocations: 46.5 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.448, allocations: 3.938 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002842/0.4483, allocations: 85.52 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.4484, allocations: 106.8 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.4485, allocations: 149.7 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4486, allocations: 26.08 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.4486, allocations: 96.12 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.4486, allocations: 0 / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.4487, allocations: 21.67 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4488, allocations: 318.8 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.4489, allocations: 11.94 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.4489, allocations: 35.42 kB / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/0.449, allocations: 47.36 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.449, allocations: 4 kB / 436.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001424/0.4492, allocations: 69.73 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4492, allocations: 12 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4492, allocations: 0 / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4492, allocations: 0 / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.4493, allocations: 8 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4493, allocations: 3.938 kB / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.4494, allocations: 11.92 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.4494, allocations: 4 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001074/0.4495, allocations: 117.8 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.4496, allocations: 57.59 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.4496, allocations: 11.88 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4496, allocations: 4 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4496, allocations: 0 / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4496, allocations: 3.938 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.4498, allocations: 173.6 kB / 437.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4498, allocations: 3.938 kB / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.4499, allocations: 8 kB / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4499, allocations: 0 / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4499, allocations: 7.984 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4499, allocations: 4.062 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4499, allocations: 0 / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4501, allocations: 177.1 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.4502, allocations: 93.05 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.4502, allocations: 11.88 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.4503, allocations: 4 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.4503, allocations: 7.938 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.4503, allocations: 0 / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.65e-05/0.4504, allocations: 113.3 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4504, allocations: 0 / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.4506, allocations: 4 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001507/0.4508, allocations: 111.2 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.451, allocations: 31.92 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.451, allocations: 0 / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.451, allocations: 8 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.4513, allocations: 27.95 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.4518, allocations: 196.7 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.4521, allocations: 0.6963 MB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.4522, allocations: 4 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.4522, allocations: 7.438 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4522, allocations: 0 / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of Templates: time 0.0033/0.4555, allocations: 0.6194 MB / 439.2 MB, free: 15.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 5.00258056120947]