Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2991/0.2991, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/3.977e-05, allocations: 5.547 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00303/0.003069, allocations: 1.715 MB / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004461, allocations: 0.9742 MB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.004545, allocations: 7.938 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.004866, allocations: 47.75 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.005146, allocations: 115.5 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.005284, allocations: 79.59 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.005435, allocations: 99.64 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.005476, allocations: 4.234 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.005569, allocations: 51.84 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.005649, allocations: 27.89 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.005667, allocations: 4 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.005737, allocations: 27.98 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.0058, allocations: 31.86 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.005844, allocations: 19.92 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.006036, allocations: 103.6 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.00604, allocations: 3.938 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006041, allocations: 0 / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.006047, allocations: 0 / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005201/0.006567, allocations: 467.7 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.006617, allocations: 12.03 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.006665, allocations: 24.84 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.006841, allocations: 161.2 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.006862, allocations: 8.359 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.00687, allocations: 384 / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.007006, allocations: 54.95 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007016, allocations: 3.938 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.007027, allocations: 7.922 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007032, allocations: 0 / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.00706, allocations: 11.94 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.007398, allocations: 125.2 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.00749, allocations: 43.09 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.007516, allocations: 15.69 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.007534, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.007646, allocations: 72.98 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.007647, allocations: 0 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001645/0.007812, allocations: 85.52 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.007842, allocations: 51.41 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.007992, allocations: 269.6 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.008006, allocations: 25.7 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.008078, allocations: 166.8 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.008114, allocations: 19.89 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.008143, allocations: 27.36 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.008291, allocations: 0.5001 MB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.008308, allocations: 11.98 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.008336, allocations: 27.31 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.008377, allocations: 31.36 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.00838, allocations: 4 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.37e-05/0.008464, allocations: 73.53 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.008478, allocations: 8 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.008482, allocations: 0 / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.008495, allocations: 3.938 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.00856, allocations: 8.312 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.008565, allocations: 4.031 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.008598, allocations: 4 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.008606, allocations: 7.984 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.6e-05/0.008692, allocations: 164.6 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.008707, allocations: 19.84 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.008831, allocations: 82.98 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008835, allocations: 3.938 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008836, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008841, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.865e-05/0.008939, allocations: 133.1 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008941, allocations: 7.938 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.008959, allocations: 8 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.00896, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.008965, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.008969, allocations: 7.969 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008969, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.487e-05/0.009064, allocations: 120.2 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.009079, allocations: 11.91 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.009096, allocations: 7.984 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.009117, allocations: 4 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.009141, allocations: 0 / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.009152, allocations: 11.94 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.009235, allocations: 188.5 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009235, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.009374, allocations: 20 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007994/0.01017, allocations: 384 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.01027, allocations: 35.61 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01027, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.0103, allocations: 27.78 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.01047, allocations: 31.61 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.01082, allocations: 230.6 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.01086, allocations: 79.27 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.736e-05/0.01089, allocations: 8.5 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.01096, allocations: 90.19 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01096, allocations: 0 / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Templates: time 0.004153/0.01511, allocations: 1.803 MB / 387.6 MB, free: 9.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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: 3.246203353162855]