Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.0009455/0.0009455, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001082/0.001082, allocations: 167.8 kB / 24.82 MB, free: 8.863 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 0.9979/0.9979, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2741/0.2741, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.577e-05, allocations: 2.312 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002621/0.002647, allocations: 1.756 MB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003947, allocations: 1.001 MB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.004031, allocations: 0 / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.004312, allocations: 43.7 kB / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.004597, allocations: 95.53 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.004772, allocations: 79.66 kB / 379.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.004937, allocations: 111.6 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.00504, allocations: 8 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.005135, allocations: 55.83 kB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.005216, allocations: 27.91 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005234, allocations: 4 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.005316, allocations: 47.86 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.005372, allocations: 23.91 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.005415, allocations: 15.94 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.005624, allocations: 99.59 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.005627, allocations: 0 / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005629, allocations: 0 / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.005635, allocations: 4 kB / 379.9 MB, free: 0.9297 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.0005391/0.006174, allocations: 451.8 kB / 380.4 MB, free: 464 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.006222, allocations: 8.031 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.006271, allocations: 20.83 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.006458, allocations: 157 kB / 380.5 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.006478, allocations: 4.375 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.006497, allocations: 4.375 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.006623, allocations: 58.94 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.006635, allocations: 3.938 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.006644, allocations: 7.984 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.006651, allocations: 4 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.006679, allocations: 7.984 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.006953, allocations: 260.3 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.084e-05/0.007043, allocations: 51.16 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.007066, allocations: 15.69 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.007084, allocations: 7.984 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.546e-05/0.007179, allocations: 76.86 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.007181, allocations: 0 / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003252/0.007506, allocations: 141.5 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.007537, allocations: 51.41 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.00766, allocations: 226.3 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.007675, allocations: 29.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.007734, allocations: 150.8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.007764, allocations: 27.78 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.007797, allocations: 27.38 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.00794, allocations: 0.5001 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.007957, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.007989, allocations: 39.34 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.008039, allocations: 47.31 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.00804, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001118/0.008152, allocations: 93.5 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.008166, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.008173, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.008188, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.008256, allocations: 15.94 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.00826, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.00829, allocations: 7.984 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.008296, allocations: 0 / 382.4 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 8.933e-05/0.008385, allocations: 164.6 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.008405, allocations: 19.84 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.008549, allocations: 103.2 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.00855, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.008552, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.008558, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.00883, allocations: 353.6 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.008833, allocations: 3.984 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.008859, allocations: 8 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.008862, allocations: 8.031 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008869, allocations: 4 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.00887, allocations: 384 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008872, allocations: 7.938 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.009015, allocations: 255.4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.009027, allocations: 15.89 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.009042, allocations: 3.984 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.009084, allocations: 8 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.00911, allocations: 7.984 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.009121, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.009187, allocations: 168.1 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009187, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.009357, allocations: 27.92 kB / 383.5 MB, free: 13.03 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.0009084/0.01027, allocations: 431 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.01037, allocations: 47.59 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01037, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.01041, allocations: 31.61 kB / 384 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.0002375/0.01064, allocations: 51.72 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.01097, allocations: 214 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.01101, allocations: 71.33 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.828e-05/0.01105, allocations: 13.28 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.01113, allocations: 90.19 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01113, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003669/0.0148, allocations: 2.046 MB / 386.5 MB, free: 10.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.013765900861472]