Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001401/0.001401, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001533/0.001533, allocations: 169.3 kB / 24.27 MB, free: 144 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.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3301/0.3301, allocations: 32.79 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.79e-05/3.932e-05, allocations: 6.25 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.004033/0.004072, allocations: 1.734 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.007127, allocations: 1.672 MB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.007242, allocations: 7.938 kB / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.007562, allocations: 31.78 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.008042, allocations: 111.3 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.00832, allocations: 75.67 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.008558, allocations: 111.6 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.008655, allocations: 8 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.008798, allocations: 59.81 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.008939, allocations: 31.91 kB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.008963, allocations: 4 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.009198, allocations: 107.8 kB / 379.3 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.009259, allocations: 27.84 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.009313, allocations: 15.94 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.009685, allocations: 179.4 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.009688, allocations: 3.938 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009689, allocations: 4 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.009693, allocations: 0 / 379.5 MB, free: 0.707 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.0006865/0.01038, allocations: 345.5 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.01042, allocations: 12.03 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.01049, allocations: 12.88 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.0108, allocations: 154.2 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.01082, allocations: 4.375 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.01085, allocations: 384 / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.01108, allocations: 101 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.0111, allocations: 4 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01112, allocations: 7.984 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.01112, allocations: 0 / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.01123, allocations: 20.06 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.01164, allocations: 228.5 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.01186, allocations: 62.62 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.01193, allocations: 20.84 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.01196, allocations: 4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.01216, allocations: 63.39 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.01217, allocations: 0 / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007037/0.01287, allocations: 185.3 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.01294, allocations: 81.11 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.01317, allocations: 169 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.0132, allocations: 25.7 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.0133, allocations: 108 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.01333, allocations: 27.73 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.01339, allocations: 25.7 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.01358, allocations: 322.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.01366, allocations: 23.98 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.01378, allocations: 72.2 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.01392, allocations: 61.61 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01392, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00025/0.01417, allocations: 117.6 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01419, allocations: 4 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.0142, allocations: 384 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01422, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.01431, allocations: 19.98 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.01432, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.01439, allocations: 8 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.01439, allocations: 0 / 381.8 MB, free: 14.25 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 (10): * Single equations (assignments): 10 * 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.0001272/0.01452, allocations: 125.7 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.01456, allocations: 15.94 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.01487, allocations: 130.5 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01488, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01488, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01488, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.01542, allocations: 346.9 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.01542, allocations: 3.984 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.01546, allocations: 8 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01547, allocations: 4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.01548, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01548, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.01548, allocations: 12.02 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.01581, allocations: 216.2 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.01584, allocations: 11.95 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.01586, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.01595, allocations: 7.984 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.016, allocations: 15.92 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.01602, allocations: 4 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.01617, allocations: 130.2 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01617, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.0165, allocations: 51.8 kB / 382.8 MB, free: 13.11 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 (9): * Single equations (assignments): 7 * 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.002712/0.01921, allocations: 0.5939 MB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.01944, allocations: 67.84 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01944, allocations: 3.938 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.01954, allocations: 24.11 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.01993, allocations: 43.09 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.02047, allocations: 217.3 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.02059, allocations: 85.44 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.02067, allocations: 16.97 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.02073, allocations: 24.48 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.02073, allocations: 0 / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Templates: time 0.006976/0.0277, allocations: 2.533 MB / 386.4 MB, free: 9.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.979567772010341]