Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0008962/0.0008962, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001153/0.001153, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9484/0.9484, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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.2892/0.2892, allocations: 34.25 MB / 296.1 MB, free: 0.6133 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.422e-05, allocations: 3.812 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002198/0.002222, allocations: 1.712 MB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007101/0.002932, allocations: 0.549 MB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.002983, allocations: 0 / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.003436, allocations: 455 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.003802, allocations: 299.1 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.004065, allocations: 127.6 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.004255, allocations: 175.6 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.068e-05/0.004326, allocations: 19.92 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.004427, allocations: 123.8 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.004575, allocations: 195.6 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.004587, allocations: 4 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.004672, allocations: 51.91 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.004749, allocations: 83.7 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.00478, allocations: 40.23 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.004981, allocations: 219 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004984, allocations: 3.984 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004985, allocations: 0 / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004988, allocations: 0 / 329.3 MB, free: 3.625 MB / 298.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.0005442/0.005532, allocations: 0.5463 MB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.005566, allocations: 8.031 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.005603, allocations: 24.91 kB / 329.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.005777, allocations: 250 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.005785, allocations: 4.375 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.005801, allocations: 384 / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.005891, allocations: 66.94 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005899, allocations: 192 / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.005907, allocations: 8.125 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.005911, allocations: 4 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.005933, allocations: 7.938 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.006128, allocations: 176.2 kB / 330.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.006173, allocations: 30.56 kB / 330.4 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.006187, allocations: 12.89 kB / 330.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.006203, allocations: 7.938 kB / 330.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.00622, allocations: 30.56 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.006221, allocations: 8 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003867/0.006607, allocations: 157.9 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.006633, allocations: 51.41 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.006945, allocations: 0.5205 MB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.006957, allocations: 33.7 kB / 331.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.00701, allocations: 141.2 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.007031, allocations: 31.67 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.007059, allocations: 21.7 kB / 331.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.007147, allocations: 362.6 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.007159, allocations: 11.98 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.007172, allocations: 8 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.007205, allocations: 28.77 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.007206, allocations: 0 / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.196e-05/0.007278, allocations: 73.66 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.007289, allocations: 8 kB / 331.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.007293, allocations: 0 / 331.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.007302, allocations: 96 / 331.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.007363, allocations: 19.97 kB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.007366, allocations: 320 / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.007389, allocations: 8 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.007393, allocations: 3.938 kB / 331.9 MB, free: 0.8242 MB / 298.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 6.536e-05/0.007459, allocations: 120.6 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.007481, allocations: 19.98 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.007592, allocations: 101.5 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.007595, allocations: 4 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.007596, allocations: 0 / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.007598, allocations: 0 / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.007849, allocations: 311.4 kB / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007851, allocations: 0 / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.007889, allocations: 19.92 kB / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.007891, allocations: 0 / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.007896, allocations: 4 kB / 332.5 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007897, allocations: 0 / 332.5 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007899, allocations: 4 kB / 332.5 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.556e-05/0.007985, allocations: 180.3 kB / 332.7 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.008021, allocations: 39.89 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.008034, allocations: 0 / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.008072, allocations: 4.031 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.008094, allocations: 11.92 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.008099, allocations: 8 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.008264, allocations: 279 kB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008264, allocations: 3.938 kB / 333 MB, free: 15.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.008401, allocations: 31.94 kB / 333 MB, free: 15.64 MB / 314.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.001335/0.009736, allocations: 0.5665 MB / 333.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.009804, allocations: 44.75 kB / 333.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.009808, allocations: 4 kB / 333.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.009829, allocations: 20.84 kB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.009994, allocations: 25.95 kB / 333.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.01052, allocations: 0.6032 MB / 334.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.01059, allocations: 119.2 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.369e-05/0.01062, allocations: 16.72 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.01067, allocations: 59.38 kB / 334.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01067, allocations: 0 / 334.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Templates: time 0.003726/0.0144, allocations: 1.709 MB / 336.2 MB, free: 12.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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: 2.8834761576727033]