Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001911/0.001911, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002256/0.002256, allocations: 161.7 kB / 24.26 MB, free: 176 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.482/1.482, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3914/0.3914, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.958e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.004306/0.004335, allocations: 1.634 MB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.005868, allocations: 0.5492 MB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.00594, allocations: 3.938 kB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.006275, allocations: 95.67 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.006666, allocations: 115.5 kB / 379.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.007041, allocations: 119.6 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.007265, allocations: 103.6 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.007382, allocations: 23.98 kB / 379.9 MB, free: 312 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.007499, allocations: 55.88 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.00763, allocations: 63.84 kB / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.007653, allocations: 8 kB / 380.1 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.007776, allocations: 47.92 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.007849, allocations: 31.86 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.007893, allocations: 19.92 kB / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.008172, allocations: 127.5 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.008177, allocations: 4 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008178, allocations: 0 / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.008183, allocations: 0 / 380.3 MB, free: 15.95 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006558/0.008839, allocations: 361.4 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.008882, allocations: 8.031 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.008971, allocations: 28.78 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.009228, allocations: 157.5 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.009242, allocations: 384 / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.009276, allocations: 8.375 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.009495, allocations: 70.23 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.009507, allocations: 4.125 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.009526, allocations: 8.125 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.009534, allocations: 4 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.009691, allocations: 55.62 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.01029, allocations: 284.3 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.01046, allocations: 70.48 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.01053, allocations: 24.84 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.01056, allocations: 0 / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.01062, allocations: 34.56 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01062, allocations: 0 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001309/0.01193, allocations: 337.5 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.01199, allocations: 55.41 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.01233, allocations: 227.6 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.01237, allocations: 33.7 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01248, allocations: 108.1 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.01258, allocations: 55.72 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.01266, allocations: 25.7 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.0129, allocations: 330.8 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.01305, allocations: 47.97 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.01317, allocations: 47.97 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.01342, allocations: 108.9 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01342, allocations: 0 / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003475/0.01377, allocations: 157.5 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.01379, allocations: 10.19 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01379, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.01381, allocations: 7.984 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01395, allocations: 27.98 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.01396, allocations: 4 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.01401, allocations: 7.875 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01402, allocations: 4 kB / 383 MB, free: 13.12 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 0.0001348/0.01415, allocations: 137.8 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.01421, allocations: 19.84 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.01465, allocations: 189.7 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01465, allocations: 4 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01466, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01466, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.01537, allocations: 434.8 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01538, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.01549, allocations: 27.92 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.01549, allocations: 4 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.0155, allocations: 3.938 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.01551, allocations: 8.031 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01551, allocations: 0 / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.0159, allocations: 252.2 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01592, allocations: 11.91 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.01595, allocations: 15.88 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.01603, allocations: 4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.01608, allocations: 19.91 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.01609, allocations: 8 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004053/0.0165, allocations: 181.1 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0165, allocations: 4 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.01678, allocations: 31.92 kB / 384.3 MB, free: 11.72 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.002277/0.01906, allocations: 478.4 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003473/0.01941, allocations: 123.6 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01941, allocations: 0 / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.01955, allocations: 55.91 kB / 384.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.01997, allocations: 23.98 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.02073, allocations: 340.3 kB / 385.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.02087, allocations: 109.2 kB / 385.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.087e-05/0.02096, allocations: 28.45 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.02101, allocations: 20.5 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.02101, allocations: 0 / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.005428/0.02644, allocations: 1.623 MB / 387.1 MB, free: 9.125 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.877757327980362]