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.001314/0.001314, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001596/0.001596, 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.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3624/0.3624, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.443e-06/1.443e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.095e-05, allocations: 6.25 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003375/0.003406, allocations: 1.668 MB / 377 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.00477, allocations: 0.5686 MB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.004844, allocations: 4 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007299/0.005574, allocations: 451.1 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005499/0.006124, allocations: 299.1 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.006628, allocations: 171.5 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.006924, allocations: 179.7 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.007031, allocations: 20.16 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.007226, allocations: 127.8 kB / 378.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.007551, allocations: 239.5 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.007574, allocations: 4 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.007698, allocations: 55.92 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.007817, allocations: 87.69 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.007885, allocations: 35.75 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.008273, allocations: 259 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.008276, allocations: 0 / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.008278, allocations: 3.938 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.008285, allocations: 0 / 379.4 MB, free: 0.8008 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.000832/0.009117, allocations: 0.5815 MB / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.009155, allocations: 8.031 kB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.009253, allocations: 52.66 kB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.009598, allocations: 246 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.009608, allocations: 4.375 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.009636, allocations: 8.375 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.009806, allocations: 62.17 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.009817, allocations: 192 / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.009831, allocations: 8.125 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.009836, allocations: 0 / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.009956, allocations: 35.91 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.01052, allocations: 340.4 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.01066, allocations: 54.48 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.01072, allocations: 16.84 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.01075, allocations: 8.078 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.01079, allocations: 34.56 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.01079, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001119/0.01191, allocations: 332.5 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.01196, allocations: 51.41 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.013, allocations: 0.8652 MB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.01303, allocations: 29.7 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.01324, allocations: 208.1 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.01328, allocations: 27.75 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.01334, allocations: 25.7 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.01356, allocations: 362.7 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01367, allocations: 31.97 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.01376, allocations: 31.98 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01395, allocations: 77.05 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.01395, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003196/0.01427, allocations: 157.3 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01429, allocations: 4 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01429, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01431, allocations: 4 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.01441, allocations: 15.98 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01442, allocations: 4 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.01449, allocations: 7.984 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.0145, allocations: 4 kB / 383.1 MB, free: 12.97 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.0002471/0.01474, allocations: 221.7 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.01485, allocations: 51.67 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.01526, allocations: 173.4 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01526, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.01527, allocations: 8 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.01527, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.01605, allocations: 462.8 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01605, allocations: 0 / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.01616, allocations: 27.92 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01616, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.01617, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01617, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.01618, allocations: 11.97 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.01655, allocations: 252 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.0166, allocations: 35.72 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01662, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.01672, allocations: 8 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.01677, allocations: 11.92 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.01677, allocations: 0 / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000852/0.01762, allocations: 0.655 MB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01762, allocations: 0 / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.01791, allocations: 31.94 kB / 385 MB, free: 10.97 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.002371/0.02028, allocations: 497.1 kB / 385.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.02054, allocations: 75.88 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02054, allocations: 0 / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.02065, allocations: 47.89 kB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.02108, allocations: 29.95 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.02244, allocations: 0.8548 MB / 386.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.0228, allocations: 228.1 kB / 386.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.02288, allocations: 20.72 kB / 386.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.02292, allocations: 16.5 kB / 386.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02292, allocations: 0 / 386.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of Templates: time 0.005861/0.02878, allocations: 1.635 MB / 388.4 MB, free: 7.766 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] 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: 4.857974220998585]