Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0009318/0.0009318, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001148/0.001148, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2871/0.2871, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.143e-05, allocations: 6.25 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002375/0.002407, allocations: 1.711 MB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003673, allocations: 1.309 MB / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.003735, allocations: 0 / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.003952, allocations: 23.84 kB / 379.1 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.00423, allocations: 87.56 kB / 379.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.004528, allocations: 179.4 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.004686, allocations: 79.7 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.004795, allocations: 11.98 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.004858, allocations: 39.91 kB / 379.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004967, allocations: 39.89 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.004987, allocations: 4 kB / 379.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.005142, allocations: 87.88 kB / 379.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.005214, allocations: 23.92 kB / 379.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.005254, allocations: 15.92 kB / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.005521, allocations: 147.4 kB / 379.8 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.005525, allocations: 0 / 379.8 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.005527, allocations: 4 kB / 379.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.005535, allocations: 0 / 379.8 MB, free: 1.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004945/0.006029, allocations: 432 kB / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.006066, allocations: 8.031 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.006116, allocations: 12.89 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.006279, allocations: 150.2 kB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.006291, allocations: 4.375 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.006315, allocations: 384 / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.006472, allocations: 112 kB / 380.5 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.006482, allocations: 192 / 380.5 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.006493, allocations: 4.125 kB / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.0065, allocations: 0 / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.006538, allocations: 19.86 kB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.006855, allocations: 295.7 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.006934, allocations: 35.16 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.006965, allocations: 19.61 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.006985, allocations: 0 / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.007022, allocations: 37.39 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.007023, allocations: 0 / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004085/0.007431, allocations: 133.4 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.007475, allocations: 85.09 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.007609, allocations: 193.9 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.007623, allocations: 29.7 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.007686, allocations: 142.9 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.007711, allocations: 23.75 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.007751, allocations: 35.36 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.00789, allocations: 496.1 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.007917, allocations: 11.98 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.007965, allocations: 49.08 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.008023, allocations: 39.84 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.008024, allocations: 0 / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001068/0.008131, allocations: 85.86 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.008147, allocations: 6.344 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.008152, allocations: 0 / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.008168, allocations: 0 / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.00826, allocations: 15.98 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.008267, allocations: 4 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.008298, allocations: 8 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.008305, allocations: 3.984 kB / 382.2 MB, free: 14.53 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 (7): * Single equations (assignments): 7 * 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 7.377e-05/0.008379, allocations: 168.5 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.0084, allocations: 7.953 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.008535, allocations: 82.39 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008537, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.008541, allocations: 4 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008544, allocations: 0 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.008805, allocations: 341.4 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008806, allocations: 3.938 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.008851, allocations: 19.92 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008853, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.00886, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.008863, allocations: 4 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008864, allocations: 4 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.008986, allocations: 219.8 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008997, allocations: 11.94 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.009009, allocations: 0 / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.009049, allocations: 4 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.009083, allocations: 7.984 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.009088, allocations: 4 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.388e-05/0.009152, allocations: 147.2 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009152, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.009346, allocations: 39.88 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009633/0.01031, allocations: 0.4893 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.01042, allocations: 43.67 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01043, allocations: 0 / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.01046, allocations: 27.61 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01067, allocations: 31.94 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.01101, allocations: 194.2 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.01105, allocations: 67.33 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.0111, allocations: 21.02 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.01114, allocations: 28.48 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01114, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003572/0.01471, allocations: 2.012 MB / 386.1 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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: 3.280935036018491]