Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001388/0.001388, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001193/0.001193, allocations: 168.4 kB / 24.81 MB, free: 8.922 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.065/1.065, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.3119/0.3119, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.012e-05/4.19e-05, allocations: 8.219 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003343/0.003385, allocations: 1.933 MB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.00521, allocations: 1.087 MB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.005344, allocations: 4 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.005841, allocations: 223.2 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.006372, allocations: 227 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.006715, allocations: 115.5 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.007086, allocations: 259.2 kB / 380.4 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.007217, allocations: 25.89 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.007432, allocations: 147.6 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.007636, allocations: 155.7 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.007661, allocations: 12 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.00781, allocations: 67.84 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.007911, allocations: 59.83 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.007976, allocations: 47.67 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.008292, allocations: 199.2 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.008296, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008297, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.008301, allocations: 0 / 381.1 MB, free: 15.75 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.0007102/0.009011, allocations: 0.6079 MB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.009064, allocations: 12.03 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.009137, allocations: 40.75 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.009401, allocations: 216.6 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.009421, allocations: 8.312 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.009448, allocations: 8.375 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.009646, allocations: 117.8 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.009661, allocations: 7.891 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.009672, allocations: 0 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.009681, allocations: 4 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.009733, allocations: 23.91 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.01022, allocations: 475.2 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.01048, allocations: 122.1 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.01053, allocations: 31.36 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.01055, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.01072, allocations: 120.4 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.01072, allocations: 0 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008765/0.0116, allocations: 377.7 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.01164, allocations: 77.11 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.01195, allocations: 398 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.01198, allocations: 29.7 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.0121, allocations: 227.2 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.01218, allocations: 75.41 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.01224, allocations: 47.34 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.01243, allocations: 0.5274 MB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.01249, allocations: 23.98 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.01256, allocations: 66.7 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01269, allocations: 114.6 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0127, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002698/0.01297, allocations: 189.5 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.01298, allocations: 4 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01299, allocations: 3.984 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01301, allocations: 7.938 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.01313, allocations: 35.98 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01313, allocations: 12 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.0132, allocations: 11.94 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01322, allocations: 11.98 kB / 385.1 MB, free: 11.5 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.0001207/0.01334, allocations: 172.5 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.01339, allocations: 39.81 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.01373, allocations: 221 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.01373, allocations: 4 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01374, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.01374, allocations: 11.91 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.01443, allocations: 0.6831 MB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01443, allocations: 3.984 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.01451, allocations: 28 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.01452, allocations: 7.938 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01454, allocations: 11.98 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.01454, allocations: 3.938 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.01454, allocations: 4 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.01494, allocations: 0.4966 MB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.01498, allocations: 43.67 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.01502, allocations: 8 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.01514, allocations: 8 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.01519, allocations: 19.97 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.01521, allocations: 11.98 kB / 386.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.01539, allocations: 254.9 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01539, allocations: 0 / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.01576, allocations: 55.92 kB / 387.2 MB, free: 9.328 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.001334/0.0171, allocations: 491.4 kB / 387.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.01733, allocations: 116 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01733, allocations: 4 kB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.01743, allocations: 79.88 kB / 387.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.01792, allocations: 64.39 kB / 387.9 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.01863, allocations: 497.2 kB / 388.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.558e-05/0.01872, allocations: 100.3 kB / 388.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.807e-05/0.01882, allocations: 49.91 kB / 388.5 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.01895, allocations: 118.2 kB / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01895, allocations: 0 / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of Templates: time 0.007529/0.02648, allocations: 3.669 MB / 392.3 MB, free: 4.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.249592324718833]