Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001689/0.001689, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.003331/0.003331, allocations: 157.7 kB / 24.27 MB, free: 148 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.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3681/0.3681, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.596e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003597/0.003633, allocations: 1.702 MB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004894, allocations: 0.5686 MB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.004954, allocations: 3.938 kB / 379.6 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.005201, allocations: 23.78 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.005523, allocations: 91.5 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.006005, allocations: 171.5 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.006216, allocations: 103.7 kB / 380 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.006317, allocations: 11.98 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.006436, allocations: 55.83 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.504e-05/0.006531, allocations: 39.89 kB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.006554, allocations: 4 kB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.006763, allocations: 103.8 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.006838, allocations: 19.92 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.00689, allocations: 19.92 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.007287, allocations: 179.4 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.00729, allocations: 0 / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.007291, allocations: 4 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.007296, allocations: 0 / 380.4 MB, free: 15.84 MB / 362.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.0008528/0.008149, allocations: 361.5 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.008195, allocations: 8.031 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.008277, allocations: 16.89 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.008585, allocations: 142.2 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.008601, allocations: 4.375 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.008635, allocations: 8.312 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.008986, allocations: 125.4 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.009, allocations: 0 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.009016, allocations: 8 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.009021, allocations: 0 / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.009338, allocations: 67.92 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.01002, allocations: 288.3 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.0103, allocations: 78.47 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.01049, allocations: 44.94 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.01052, allocations: 4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.01057, allocations: 38.5 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.01057, allocations: 0 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001773/0.01234, allocations: 409 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.01242, allocations: 81.11 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01264, allocations: 155.6 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.01267, allocations: 29.7 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.01276, allocations: 104.1 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.0128, allocations: 35.69 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.01286, allocations: 21.72 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01304, allocations: 322.8 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.01335, allocations: 79.92 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.0137, allocations: 123.3 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.01429, allocations: 168.7 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.0143, allocations: 4 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007072/0.01501, allocations: 214.1 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01503, allocations: 4 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01503, allocations: 0 / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.01505, allocations: 4 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.01528, allocations: 39.95 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.01529, allocations: 3.984 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.01546, allocations: 31.97 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01547, allocations: 3.984 kB / 383.4 MB, free: 12.67 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.0001378/0.01561, allocations: 125.7 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.01566, allocations: 19.91 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.01642, allocations: 226.3 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01642, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.01643, allocations: 4 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01643, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.01748, allocations: 457.9 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01748, allocations: 0 / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.01768, allocations: 39.95 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01768, allocations: 0 / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01769, allocations: 3.938 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.0177, allocations: 4 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.0177, allocations: 7.938 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007539/0.01845, allocations: 303.2 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.01848, allocations: 11.94 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.0185, allocations: 0 / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.01869, allocations: 23.97 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.01876, allocations: 15.92 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01877, allocations: 4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.01891, allocations: 130.2 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01891, allocations: 0 / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.01926, allocations: 47.86 kB / 384.7 MB, free: 11.21 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.002344/0.0216, allocations: 0.5339 MB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007307/0.02233, allocations: 171.8 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02233, allocations: 0 / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.02267, allocations: 87.91 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.02312, allocations: 34.92 kB / 385.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.02373, allocations: 251.3 kB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.02385, allocations: 92.3 kB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.02396, allocations: 32.47 kB / 385.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.02404, allocations: 28.48 kB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02404, allocations: 0 / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.00699/0.03103, allocations: 2.703 MB / 388.7 MB, free: 7.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.043628227082081]