Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001356/0.001356, allocations: 82.67 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001378/0.001378, allocations: 165.3 kB / 23.96 MB, free: 4.145 MB / 14.72 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.373/1.373, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.2011/0.2011, allocations: 32.82 MB / 293.5 MB, free: 16 kB / 270.1 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.596e-05, allocations: 6.219 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002719/0.002745, allocations: 1.598 MB / 441.7 MB, free: 6.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.004523, allocations: 1.25 MB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.004584, allocations: 0 / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.00477, allocations: 19.8 kB / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.005096, allocations: 87.55 kB / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.005397, allocations: 118.2 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.005558, allocations: 71.77 kB / 443.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.005644, allocations: 11.98 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.838e-05/0.005712, allocations: 31.92 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.005815, allocations: 31.89 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.005835, allocations: 4 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.006004, allocations: 91.75 kB / 443.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.006051, allocations: 11.94 kB / 443.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.006094, allocations: 23.86 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.006358, allocations: 139.6 kB / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.006359, allocations: 0 / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00636, allocations: 4 kB / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.006368, allocations: 4 kB / 443.6 MB, free: 4.629 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004829/0.006851, allocations: 325.7 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.006885, allocations: 8.031 kB / 443.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.006925, allocations: 8.891 kB / 443.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.007122, allocations: 141.6 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-06/0.007127, allocations: 384 / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.007147, allocations: 384 / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.007325, allocations: 93.66 kB / 444.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.007339, allocations: 4.141 kB / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.00735, allocations: 4.125 kB / 444.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.007354, allocations: 4 kB / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.007443, allocations: 23.98 kB / 444.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.007795, allocations: 224.5 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.007991, allocations: 46.56 kB / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.008042, allocations: 12.94 kB / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.008059, allocations: 7.938 kB / 444.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.008096, allocations: 30.56 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.008097, allocations: 0 / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005726/0.00867, allocations: 153.4 kB / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.008733, allocations: 81.11 kB / 444.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.008891, allocations: 141.8 kB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.00892, allocations: 29.7 kB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.008976, allocations: 92.12 kB / 445 MB, free: 3.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.009001, allocations: 19.8 kB / 445 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.009043, allocations: 25.7 kB / 445 MB, free: 3.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.009184, allocations: 318.8 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.009264, allocations: 23.98 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.009362, allocations: 63.39 kB / 445.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.009512, allocations: 52.83 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.009518, allocations: 3.938 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002089/0.009727, allocations: 93.8 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.009739, allocations: 6.5 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.009747, allocations: 8.031 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.009758, allocations: 0 / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.009825, allocations: 15.92 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.009829, allocations: 0 / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.009875, allocations: 4 kB / 445.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.009884, allocations: 4 kB / 445.6 MB, free: 2.398 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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 8.802e-05/0.009972, allocations: 122.4 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.01001, allocations: 11.94 kB / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.01026, allocations: 98.11 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01026, allocations: 0 / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01027, allocations: 4.281 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01027, allocations: 0 / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.01069, allocations: 306.1 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.0107, allocations: 0 / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.01076, allocations: 15.97 kB / 446.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01076, allocations: 0 / 446.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.01077, allocations: 4 kB / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01077, allocations: 4 kB / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01077, allocations: 0 / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.01102, allocations: 187.3 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.01104, allocations: 11.94 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.01106, allocations: 8 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.01114, allocations: 4.188 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.01116, allocations: 3.984 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01117, allocations: 4 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01127, allocations: 111.3 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01127, allocations: 0 / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.01155, allocations: 43.86 kB / 446.5 MB, free: 1.406 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.001761/0.01331, allocations: 0.5235 MB / 447.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.01351, allocations: 51.84 kB / 447.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01351, allocations: 4 kB / 447.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.0136, allocations: 27.97 kB / 447.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.01387, allocations: 11.05 kB / 447.2 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.01428, allocations: 180.7 kB / 447.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.551e-05/0.01436, allocations: 83.31 kB / 447.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.01442, allocations: 15.97 kB / 447.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.01447, allocations: 16.5 kB / 447.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.01447, allocations: 0 / 447.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of Templates: time 0.1588/0.1732, allocations: 1.826 MB / 449.3 MB, free: 21.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.475608058273792]