Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001636/0.001636, allocations: 88.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.002173/0.002173, allocations: 161.7 kB / 24.27 MB, free: 172 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.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3722/0.3722, allocations: 34.27 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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.602e-05/3.782e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00327/0.003308, allocations: 1.642 MB / 379 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.004435, allocations: 0.5376 MB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.004491, allocations: 4 kB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.004835, allocations: 95.61 kB / 379.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.005206, allocations: 111.5 kB / 379.7 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.005552, allocations: 91.69 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.005804, allocations: 103.7 kB / 379.9 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.005931, allocations: 23.98 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.006055, allocations: 55.88 kB / 380 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.0062, allocations: 59.86 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.006222, allocations: 8 kB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.006354, allocations: 43.92 kB / 380.1 MB, free: 180 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.006433, allocations: 31.84 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.006489, allocations: 23.92 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.006767, allocations: 127.5 kB / 380.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006771, allocations: 4 kB / 380.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006772, allocations: 0 / 380.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.006776, allocations: 0 / 380.3 MB, free: 15.99 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006187/0.007395, allocations: 353.4 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.007439, allocations: 16.03 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.007518, allocations: 20.84 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.007751, allocations: 157.5 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.007762, allocations: 384 / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.007794, allocations: 8.375 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.007993, allocations: 70.17 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.008011, allocations: 4.188 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.008026, allocations: 4.125 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.008031, allocations: 0 / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.008168, allocations: 43.95 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.008649, allocations: 268.4 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.008801, allocations: 54.5 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.008868, allocations: 28.84 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.008893, allocations: 0 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.008932, allocations: 38.5 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 7.32e-07/0.008933, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001146/0.01008, allocations: 313.7 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.01013, allocations: 55.41 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.01042, allocations: 231.6 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.01044, allocations: 25.7 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.01052, allocations: 112.1 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.01058, allocations: 47.58 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.01063, allocations: 33.75 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.01082, allocations: 334.7 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.01092, allocations: 35.98 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.01102, allocations: 43.97 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.01121, allocations: 87.58 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.01122, allocations: 4 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002917/0.01151, allocations: 141.6 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01152, allocations: 4 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01153, allocations: 4 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.01154, allocations: 0 / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.01167, allocations: 31.91 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.01168, allocations: 4 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.01174, allocations: 7.984 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.01176, allocations: 3.938 kB / 382.8 MB, free: 13.28 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.0001368/0.0119, allocations: 137.8 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.01194, allocations: 15.91 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.01234, allocations: 167 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01235, allocations: 4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01235, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01236, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.01303, allocations: 414.8 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01304, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.01313, allocations: 23.98 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01313, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01315, allocations: 11.97 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01315, allocations: 3.938 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01315, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.01353, allocations: 246.8 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.01355, allocations: 7.953 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01358, allocations: 11.94 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.01365, allocations: 4 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.01371, allocations: 15.97 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.01372, allocations: 4 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001938/0.01391, allocations: 185.1 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.01422, allocations: 39.88 kB / 384.1 MB, free: 11.95 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.002188/0.01641, allocations: 490.5 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.01668, allocations: 91.77 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01669, allocations: 0 / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.0168, allocations: 47.97 kB / 384.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.01719, allocations: 20.2 kB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.01784, allocations: 328 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.01796, allocations: 109.2 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.563e-05/0.01802, allocations: 20.47 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.01807, allocations: 16.5 kB / 385.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01807, allocations: 0 / 385.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Templates: time 0.00484/0.02291, allocations: 1.56 MB / 386.7 MB, free: 9.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.946823737001978]