Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001547/0.001547, 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.001684/0.001684, 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.595/1.595, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.4058/0.4058, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.103e-05, allocations: 5.266 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00392/0.003951, allocations: 1.871 MB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.006346, allocations: 1.084 MB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.006445, allocations: 3.938 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.007028, allocations: 223.2 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.007566, allocations: 223.1 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.007879, allocations: 119.5 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.00826, allocations: 263.2 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.008377, allocations: 17.95 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.00862, allocations: 147.6 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.008866, allocations: 151.7 kB / 381.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.008898, allocations: 8 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.00905, allocations: 71.84 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.009155, allocations: 63.78 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.009242, allocations: 47.78 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.009629, allocations: 239.1 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.009633, allocations: 0 / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009634, allocations: 4 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.00964, allocations: 0 / 381.9 MB, free: 14.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000868/0.01051, allocations: 0.504 MB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.01054, allocations: 12.03 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.01089, allocations: 32.75 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.01132, allocations: 225.8 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.01134, allocations: 8.375 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.01137, allocations: 4.375 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.01165, allocations: 119.8 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.01167, allocations: 3.938 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.01169, allocations: 4 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.0117, allocations: 4 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.01185, allocations: 43.95 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.01251, allocations: 424.3 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.01295, allocations: 121.2 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.01308, allocations: 45.81 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.0131, allocations: 4 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.01336, allocations: 121 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.01336, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001548/0.01491, allocations: 0.5243 MB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.01499, allocations: 85.05 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.01557, allocations: 456.5 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.01561, allocations: 33.7 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.01577, allocations: 164.5 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.01585, allocations: 71.41 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.01593, allocations: 45.7 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.01614, allocations: 342.8 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.01628, allocations: 55.97 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.01646, allocations: 99.33 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.01679, allocations: 167.5 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01679, allocations: 3.984 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004795/0.01727, allocations: 249.3 kB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01729, allocations: 4 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.01729, allocations: 0 / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.01731, allocations: 4 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.01747, allocations: 47.97 kB / 385.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.01748, allocations: 7.938 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/0.01758, allocations: 8 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.0176, allocations: 11.98 kB / 385.9 MB, free: 10.11 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001926/0.01779, allocations: 165.8 kB / 386 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.01786, allocations: 39.75 kB / 386.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.01849, allocations: 285.3 kB / 386.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.0185, allocations: 4 kB / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.01851, allocations: 3.938 kB / 386.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01851, allocations: 4 kB / 386.4 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.0196, allocations: 0.6723 MB / 387 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.0196, allocations: 4 kB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.0197, allocations: 27.98 kB / 387.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.01971, allocations: 4 kB / 387.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.01973, allocations: 8 kB / 387.1 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.01974, allocations: 7.984 kB / 387.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.01974, allocations: 7.875 kB / 387.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.02039, allocations: 449.9 kB / 387.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.02044, allocations: 31.81 kB / 387.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.02048, allocations: 4 kB / 387.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.02063, allocations: 11.98 kB / 387.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.02072, allocations: 31.89 kB / 387.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.02074, allocations: 8 kB / 387.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004209/0.02116, allocations: 346.9 kB / 388 MB, free: 7.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02116, allocations: 0 / 388 MB, free: 7.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.02155, allocations: 55.89 kB / 388 MB, free: 7.867 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002593/0.02415, allocations: 0.5525 MB / 388.6 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.02458, allocations: 163.6 kB / 388.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02458, allocations: 0 / 388.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.02476, allocations: 75.84 kB / 388.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.02538, allocations: 77.05 kB / 388.9 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.02647, allocations: 0.576 MB / 389.5 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.02669, allocations: 169.8 kB / 389.6 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.0268, allocations: 37.94 kB / 389.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.02688, allocations: 32.48 kB / 389.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02688, allocations: 0 / 389.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of Templates: time 0.008667/0.03555, allocations: 3.338 MB / 393 MB, free: 3.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.154438389930874]