Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.002424/0.002424, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002763/0.002763, allocations: 165.3 kB / 24.28 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.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.79 MB / 293.9 MB, free: 1.207 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.557e-05, allocations: 5.688 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003625/0.00366, allocations: 1.7 MB / 377 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004994, allocations: 0.5842 MB / 377.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.005058, allocations: 0 / 377.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.005299, allocations: 31.72 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.005633, allocations: 83.56 kB / 377.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.006089, allocations: 175.5 kB / 377.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.006296, allocations: 99.64 kB / 378 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.006415, allocations: 23.97 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.00653, allocations: 43.84 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006631, allocations: 43.88 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.006657, allocations: 4 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.006865, allocations: 103.8 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.006937, allocations: 19.92 kB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.006986, allocations: 27.91 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.007338, allocations: 171.4 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.007341, allocations: 0 / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.007344, allocations: 4 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.007349, allocations: 0 / 378.4 MB, free: 1.844 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.0007615/0.008111, allocations: 463.5 kB / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.00815, allocations: 8.031 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.008219, allocations: 12.89 kB / 378.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.008495, allocations: 152.9 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.008511, allocations: 4.375 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.008541, allocations: 4.375 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.008808, allocations: 111.1 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.008823, allocations: 3.938 kB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.008835, allocations: 0 / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.008839, allocations: 4 kB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.009049, allocations: 47.95 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.009711, allocations: 323.6 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.009942, allocations: 74.89 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.01006, allocations: 31.8 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.01009, allocations: 4 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.01012, allocations: 45.38 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.01012, allocations: 0 / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.001197/0.01132, allocations: 261.3 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003314/0.01165, allocations: 85.05 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.01191, allocations: 225.9 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.01194, allocations: 25.7 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01205, allocations: 150.8 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.01209, allocations: 35.7 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.01216, allocations: 35.36 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002968/0.01246, allocations: 0.5 MB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.01264, allocations: 39.97 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.01287, allocations: 93.05 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.01321, allocations: 103.6 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01321, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000449/0.01366, allocations: 137.8 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01368, allocations: 8 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01369, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.0137, allocations: 4 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.01387, allocations: 31.91 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.01388, allocations: 4 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.01398, allocations: 15.98 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01399, allocations: 0 / 381.4 MB, free: 14.61 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 (10): * Single equations (assignments): 10 * 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.0001478/0.01414, allocations: 168.5 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.0142, allocations: 19.91 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.0147, allocations: 150.3 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.0147, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01471, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01471, allocations: 384 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.01556, allocations: 445.3 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.01556, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.01571, allocations: 35.92 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01571, allocations: 0 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01572, allocations: 0 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01572, allocations: 0 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.01573, allocations: 3.938 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.01629, allocations: 291.7 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.01632, allocations: 7.953 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01634, allocations: 3.984 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.01647, allocations: 23.98 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.01653, allocations: 11.92 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.01654, allocations: 4 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.0167, allocations: 171.1 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0167, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.01703, allocations: 51.86 kB / 382.7 MB, free: 13.16 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 (9): * Single equations (assignments): 9 * 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.003442/0.02048, allocations: 0.5271 MB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000488/0.02096, allocations: 119.5 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02097, allocations: 0 / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.02119, allocations: 67.58 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.02155, allocations: 23.86 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.02217, allocations: 238.5 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.0223, allocations: 100.3 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.02241, allocations: 24.45 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.02248, allocations: 16.5 kB / 383.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02248, allocations: 0 / 383.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Templates: time 0.007657/0.03014, allocations: 2.729 MB / 386.6 MB, free: 9.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.293834912008606]