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.002192/0.002192, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001995/0.001995, allocations: 161.3 kB / 24.27 MB, free: 152 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.633/1.633, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3675/0.3675, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.322e-06/1.322e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.869e-05, allocations: 9.547 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003404/0.003433, allocations: 1.685 MB / 377 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.004671, allocations: 0.5686 MB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.004731, allocations: 11.94 kB / 377.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000698/0.005429, allocations: 443.1 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.005959, allocations: 307.1 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.006412, allocations: 171.5 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.006683, allocations: 175.7 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.006781, allocations: 16.17 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.00696, allocations: 127.8 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.007282, allocations: 247.5 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.007314, allocations: 4 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.007442, allocations: 51.91 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.007569, allocations: 87.7 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.007634, allocations: 39.73 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.008029, allocations: 262.9 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.008033, allocations: 0 / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008034, allocations: 0 / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.008039, allocations: 0 / 379.4 MB, free: 0.7773 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009369/0.008976, allocations: 0.7162 MB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.009018, allocations: 12.03 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.009132, allocations: 55.08 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.009473, allocations: 244.9 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.009486, allocations: 4.375 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.009509, allocations: 8.359 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.00966, allocations: 54.19 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.009672, allocations: 4.188 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.009682, allocations: 1.688 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.009686, allocations: 3.938 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.009787, allocations: 19.98 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000742/0.01053, allocations: 487.5 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.01066, allocations: 55.03 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.01071, allocations: 11.69 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.01074, allocations: 0 / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.01078, allocations: 45.42 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.01078, allocations: 0 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009765/0.01175, allocations: 288.6 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.0118, allocations: 55.41 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.01261, allocations: 0.6707 MB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.01264, allocations: 29.7 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.01294, allocations: 302.8 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.01297, allocations: 23.8 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.01315, allocations: 35.34 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003632/0.01351, allocations: 0.5704 MB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.01359, allocations: 19.98 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.01365, allocations: 19.98 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.0138, allocations: 55.91 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.0138, allocations: 3.938 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002681/0.01407, allocations: 137.3 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01408, allocations: 4 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.01409, allocations: 0 / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.0141, allocations: 0 / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.0142, allocations: 15.98 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01421, allocations: 4 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.01426, allocations: 0 / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01427, allocations: 8 kB / 383.4 MB, free: 12.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 (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 0.000142/0.01442, allocations: 168.5 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.01449, allocations: 47.66 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.01482, allocations: 133.5 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.01483, allocations: 4 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01483, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01484, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008558/0.01569, allocations: 0.5672 MB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01569, allocations: 3.938 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.01577, allocations: 16 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.01578, allocations: 3.984 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01579, allocations: 4 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.01579, allocations: 3.938 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0158, allocations: 0 / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.01614, allocations: 287.2 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.01621, allocations: 35.72 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01623, allocations: 0 / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.01631, allocations: 8.031 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.01635, allocations: 7.984 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01636, allocations: 4 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005069/0.01687, allocations: 442.8 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01687, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01714, allocations: 31.94 kB / 385.1 MB, free: 10.81 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.003406/0.02055, allocations: 0.4889 MB / 385.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.02081, allocations: 67.58 kB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.02081, allocations: 0 / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.02091, allocations: 43.61 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.02127, allocations: 35.27 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.02232, allocations: 0.6249 MB / 386.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.02257, allocations: 212.1 kB / 386.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.02265, allocations: 16.7 kB / 386.6 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.02269, allocations: 16.5 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of SimCode: time 5.1e-07/0.0227, allocations: 0 / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of Templates: time 0.005985/0.02868, allocations: 1.598 MB / 388.2 MB, free: 7.879 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 5.079463073052466]