Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001938/0.001938, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002028/0.002028, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3946/0.3946, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.391e-05, allocations: 10.25 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003463/0.003497, allocations: 1.793 MB / 377.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.006703, allocations: 1.75 MB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.006788, allocations: 0 / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.007107, allocations: 55.62 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.007566, allocations: 143.2 kB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.007828, allocations: 111.6 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.008157, allocations: 211.2 kB / 379.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.008206, allocations: 5.812 kB / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.008404, allocations: 119.6 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.008599, allocations: 67.78 kB / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.008633, allocations: 8 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.008847, allocations: 103.9 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.008928, allocations: 31.86 kB / 379.7 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.00901, allocations: 43.84 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.009661, allocations: 231.2 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.009666, allocations: 0 / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009667, allocations: 3.938 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.009675, allocations: 4 kB / 380 MB, free: 228 kB / 346.7 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.0008488/0.01052, allocations: 428.9 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.01057, allocations: 12.03 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.01066, allocations: 20.84 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.01107, allocations: 193.4 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.01109, allocations: 4.375 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.01111, allocations: 4.375 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.0114, allocations: 153 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01141, allocations: 7.938 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.01143, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.01143, allocations: 4 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.01157, allocations: 39.91 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.01183, allocations: 166.1 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.01215, allocations: 97.23 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.01226, allocations: 41.64 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.01229, allocations: 7.922 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.01256, allocations: 117.1 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.01256, allocations: 0 / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000563/0.01313, allocations: 181.4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.01323, allocations: 128.5 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.01357, allocations: 252.1 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.0136, allocations: 29.7 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.0137, allocations: 112.1 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.01375, allocations: 31.83 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.01381, allocations: 37.64 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.01401, allocations: 326.8 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.01411, allocations: 35.98 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.01429, allocations: 124.5 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.0145, allocations: 95.84 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01451, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000338/0.01484, allocations: 149.5 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01486, allocations: 8 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01487, allocations: 8.031 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.01489, allocations: 4 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01502, allocations: 23.92 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01502, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-05/0.01512, allocations: 15.94 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01513, allocations: 4 kB / 382.8 MB, free: 13.14 MB / 362.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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001406/0.01527, allocations: 129.8 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.01532, allocations: 19.86 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.01572, allocations: 170.7 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.01572, allocations: 4 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01572, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01573, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01593, allocations: 161.2 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01593, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.01598, allocations: 11.94 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.01599, allocations: 7.984 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.016, allocations: 0 / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.01601, allocations: 7.938 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01601, allocations: 3.938 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.01639, allocations: 190 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.01643, allocations: 15.91 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.01647, allocations: 11.98 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.01655, allocations: 7.938 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.0166, allocations: 7.984 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.01663, allocations: 12 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002359/0.01686, allocations: 185.8 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01686, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.01717, allocations: 59.86 kB / 383.8 MB, free: 12.09 MB / 362.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002304/0.01948, allocations: 0.5287 MB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.01979, allocations: 87.89 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0198, allocations: 0 / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.01993, allocations: 47.91 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.02036, allocations: 70.95 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.02105, allocations: 297.8 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.02119, allocations: 123.5 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.954e-05/0.02129, allocations: 29.97 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.02137, allocations: 32.47 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02137, allocations: 0 / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.008572/0.02994, allocations: 3.433 MB / 388.4 MB, free: 7.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.94545006705448]