Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001282/0.001282, allocations: 77.88 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.0009753/0.0009753, allocations: 169.4 kB / 24.82 MB, free: 8.938 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.9223/0.9223, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2237/0.2237, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.552e-05, allocations: 2.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001929/0.001944, allocations: 1.707 MB / 378.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.002594, allocations: 0.5647 MB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.002648, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.003055, allocations: 447.1 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.003364, allocations: 307.1 kB / 379.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.003626, allocations: 179.5 kB / 379.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.003787, allocations: 187.5 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.003864, allocations: 8.234 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.598e-05/0.00396, allocations: 123.8 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.004367, allocations: 239.6 kB / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.004384, allocations: 8 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.501e-05/0.004459, allocations: 51.91 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.004528, allocations: 87.7 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.004561, allocations: 39.69 kB / 380.4 MB, free: 440 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.004744, allocations: 219.1 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.004745, allocations: 0 / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004746, allocations: 0 / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.004749, allocations: 0 / 380.6 MB, free: 220 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004627/0.005212, allocations: 0.7086 MB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.005244, allocations: 12.03 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.005287, allocations: 44.66 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.005449, allocations: 256.8 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.005462, allocations: 4.375 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.005478, allocations: 384 / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.005564, allocations: 62.94 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.005571, allocations: 192 / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.005578, allocations: 8.125 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.005585, allocations: 7.984 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.005607, allocations: 11.92 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.005872, allocations: 344.2 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.005917, allocations: 43.08 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.005931, allocations: 19.62 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.005948, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.005966, allocations: 37.39 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.005966, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003895/0.006356, allocations: 189.2 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.006378, allocations: 55.41 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.006705, allocations: 0.6079 MB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.006714, allocations: 25.7 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.006845, allocations: 298.7 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.006866, allocations: 31.73 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.006895, allocations: 27.38 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.007031, allocations: 0.5663 MB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.007043, allocations: 4 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.007057, allocations: 11.98 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.007093, allocations: 31.91 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.007094, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.97e-05/0.007173, allocations: 101.4 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.007184, allocations: 8 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.007189, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.007198, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.007256, allocations: 23.86 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.007258, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.007281, allocations: 4 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.007286, allocations: 0 / 384.1 MB, free: 12.49 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 (8): * Single equations (assignments): 8 * 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.873e-05/0.007355, allocations: 168.5 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.007387, allocations: 47.67 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.00751, allocations: 109.5 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007512, allocations: 7.984 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007513, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007516, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.007807, allocations: 433.4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007809, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.007842, allocations: 19.98 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.007843, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.007849, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.00785, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.007852, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.007967, allocations: 271.2 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.007989, allocations: 31.72 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008004, allocations: 7.984 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-05/0.008044, allocations: 4.422 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.008065, allocations: 7.984 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.008069, allocations: 7.938 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001904/0.00826, allocations: 390.7 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00826, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.00842, allocations: 28 kB / 385.7 MB, free: 10.9 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 (8): * Single equations (assignments): 8 * 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.0008083/0.009229, allocations: 443.1 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.372e-05/0.009302, allocations: 47.59 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.009304, allocations: 3.938 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.009333, allocations: 23.67 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.009546, allocations: 29.95 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.01008, allocations: 0.6015 MB / 386.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.059e-05/0.01015, allocations: 127.2 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.01019, allocations: 21.02 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.01024, allocations: 86.19 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01024, allocations: 0 / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of Templates: time 0.003923/0.01416, allocations: 1.786 MB / 388.8 MB, free: 7.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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: 2.856008525006473]