Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.002613/0.002613, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.0031/0.0031, allocations: 169.3 kB / 24.28 MB, free: 152 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.668/1.668, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.4177/0.4177, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.979e-05, allocations: 2.312 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00335/0.00338, allocations: 1.738 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.005505, allocations: 1.013 MB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.005584, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.005882, allocations: 39.7 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.006243, allocations: 95.47 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.006488, allocations: 79.62 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.006703, allocations: 111.6 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.006797, allocations: 11.92 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.006923, allocations: 67.83 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.007023, allocations: 27.91 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.007051, allocations: 8 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.007271, allocations: 115.7 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.007337, allocations: 19.91 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.007391, allocations: 19.94 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.007755, allocations: 179.4 kB / 378.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.007759, allocations: 0 / 378.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.00776, allocations: 0 / 378.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.007765, allocations: 3.938 kB / 378.9 MB, free: 1.359 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007218/0.008487, allocations: 475.3 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.008521, allocations: 8.031 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.008588, allocations: 12.89 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.008858, allocations: 151.3 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.008872, allocations: 384 / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.008899, allocations: 8.328 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.009343, allocations: 103.2 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.009367, allocations: 3.938 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.009381, allocations: 3.984 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.009385, allocations: 0 / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.009463, allocations: 16 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.009888, allocations: 287.8 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.01009, allocations: 71.03 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.01017, allocations: 35.73 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01019, allocations: 3.938 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.01038, allocations: 73.09 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.01038, allocations: 0 / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000646/0.01103, allocations: 197.3 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.0111, allocations: 81.05 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.01137, allocations: 237.7 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.01139, allocations: 33.7 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.0115, allocations: 146.9 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.01154, allocations: 27.81 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.01161, allocations: 39.36 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.01189, allocations: 0.5 MB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.01196, allocations: 23.98 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01208, allocations: 84.75 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.01224, allocations: 75.3 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01225, allocations: 3.938 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.0125, allocations: 117.6 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01251, allocations: 8 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01252, allocations: 3.984 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01253, allocations: 0 / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01265, allocations: 23.94 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.01265, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.01271, allocations: 7.984 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.01272, allocations: 4 kB / 381.7 MB, free: 14.29 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 (13): * Single equations (assignments): 13 * 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.0001495/0.01287, allocations: 172.5 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.01291, allocations: 19.91 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.01322, allocations: 126.9 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01323, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01323, allocations: 3.938 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01323, allocations: 0 / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.01387, allocations: 433 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01387, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.01395, allocations: 15.94 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.01395, allocations: 0 / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01396, allocations: 4 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01397, allocations: 0 / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.01397, allocations: 8.016 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.01436, allocations: 279.4 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.01439, allocations: 11.95 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.01442, allocations: 4 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.01452, allocations: 7.984 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.01457, allocations: 15.88 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.01459, allocations: 7.984 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.01476, allocations: 173.8 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01476, allocations: 3.938 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000338/0.0151, allocations: 51.86 kB / 383 MB, free: 12.89 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: 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 (11): * Single equations (assignments): 9 * 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.003739/0.01884, allocations: 0.5934 MB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.01912, allocations: 79.59 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01913, allocations: 0 / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01923, allocations: 47.67 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.01963, allocations: 47.75 kB / 383.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.02021, allocations: 226 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.02032, allocations: 89.44 kB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.64e-05/0.02039, allocations: 20.64 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.02045, allocations: 32.48 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02045, allocations: 0 / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Templates: time 0.007374/0.02783, allocations: 2.68 MB / 386.8 MB, free: 9.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.37365571805276]