Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001057/0.001057, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009463/0.0009463, allocations: 161 kB / 24.56 MB, free: 8 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.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.641 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.2334/0.2334, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.098e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002061/0.002082, allocations: 1.692 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.002842, allocations: 0.5493 MB / 378.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.002898, allocations: 4 kB / 378.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.003176, allocations: 99.55 kB / 378.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.003453, allocations: 111.5 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.003694, allocations: 119.6 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.003859, allocations: 107.7 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.003949, allocations: 15.98 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.004016, allocations: 59.81 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.004108, allocations: 63.86 kB / 378.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.004124, allocations: 4 kB / 378.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.004201, allocations: 43.92 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.004248, allocations: 31.91 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.004279, allocations: 15.94 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004439, allocations: 115.5 kB / 379.1 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004441, allocations: 0 / 379.1 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004442, allocations: 4 kB / 379.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004446, allocations: 0 / 379.1 MB, free: 1.617 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004295/0.004876, allocations: 471.7 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.004911, allocations: 8.031 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.004957, allocations: 16.84 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005093, allocations: 164.3 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.005102, allocations: 384 / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.005124, allocations: 8.375 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.005239, allocations: 66.94 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.00525, allocations: 192 / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.005266, allocations: 16.12 kB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.005274, allocations: 0 / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.005317, allocations: 23.97 kB / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.005704, allocations: 335.5 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.005779, allocations: 59.05 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.005804, allocations: 15.67 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.005824, allocations: 4 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.005843, allocations: 37.33 kB / 380.3 MB, free: 292 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.005845, allocations: 3.984 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005781/0.006423, allocations: 245.7 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.006463, allocations: 59.34 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.0066, allocations: 246.7 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.006613, allocations: 29.7 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.006667, allocations: 162.8 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.0067, allocations: 47.64 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.006736, allocations: 35.31 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006841, allocations: 0.5039 MB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.006868, allocations: 20 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.006898, allocations: 24.11 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.006963, allocations: 55.42 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006964, allocations: 4 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002407/0.007204, allocations: 97.59 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007217, allocations: 4 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007222, allocations: 3.984 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.007234, allocations: 0 / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.007314, allocations: 27.92 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.007319, allocations: 4 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.007342, allocations: 11.94 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.00735, allocations: 8 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.215e-05/0.007412, allocations: 156.6 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007438, allocations: 19.91 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.007598, allocations: 127 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0076, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.007604, allocations: 4 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007607, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.00793, allocations: 436.8 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007931, allocations: 32 / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.007979, allocations: 27.98 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.007983, allocations: 4 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.007992, allocations: 7.938 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007993, allocations: 3.938 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007994, allocations: 0 / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.008137, allocations: 263.5 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.008154, allocations: 15.91 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.008169, allocations: 7.938 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.008203, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.008234, allocations: 11.98 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.00824, allocations: 8 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.905e-05/0.008319, allocations: 189 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008319, allocations: 0 / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.008489, allocations: 27.94 kB / 383.1 MB, free: 13.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008448/0.009334, allocations: 432.2 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.009461, allocations: 72.16 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009462, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.009505, allocations: 43.72 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.009709, allocations: 27.91 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.01007, allocations: 284.6 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01012, allocations: 75.33 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.01016, allocations: 24.45 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.0102, allocations: 20.5 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0102, allocations: 4 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003467/0.01366, allocations: 1.736 MB / 385.8 MB, free: 10.69 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.1053240029141307]