Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001546/0.001546, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001351/0.001351, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.143/1.143, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3791/0.3791, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.31e-05, allocations: 2.312 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003032/0.003055, allocations: 2.01 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.004525, allocations: 0.9964 MB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.004651, allocations: 4 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.005117, allocations: 267 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.00555, allocations: 270.8 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.006265, allocations: 470.8 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.006611, allocations: 339 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.006782, allocations: 44.91 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.006967, allocations: 175.5 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.007176, allocations: 203.5 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.007203, allocations: 8 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.007329, allocations: 79.78 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.007443, allocations: 95.67 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.007498, allocations: 59.66 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.007805, allocations: 246.9 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.007806, allocations: 0 / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007807, allocations: 7.938 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007813, allocations: 0 / 383.7 MB, free: 13.12 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005926/0.008406, allocations: 0.6931 MB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.008446, allocations: 8.031 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.008508, allocations: 52.61 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.008973, allocations: 262.8 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.008986, allocations: 8.375 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.009014, allocations: 16.33 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.009159, allocations: 94.84 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.009172, allocations: 192 / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.009271, allocations: 16.12 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.009278, allocations: 4 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.009326, allocations: 28.62 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.009772, allocations: 419.8 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.009861, allocations: 70.95 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.009887, allocations: 23.67 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.009924, allocations: 11.92 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.00995, allocations: 33.39 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.009951, allocations: 0 / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004587/0.01041, allocations: 253.2 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.01044, allocations: 55.41 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.01079, allocations: 470.5 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.01081, allocations: 29.7 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01094, allocations: 267.1 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.01098, allocations: 55.47 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.01102, allocations: 39.36 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.01118, allocations: 0.539 MB / 387.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.01121, allocations: 23.89 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.01124, allocations: 23.97 kB / 387.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.0113, allocations: 57.88 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01131, allocations: 4 kB / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001507/0.01146, allocations: 153.2 kB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01147, allocations: 6.344 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01147, allocations: 0 / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.01149, allocations: 7.938 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.01159, allocations: 31.98 kB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.01159, allocations: 0 / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.01162, allocations: 4 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.01163, allocations: 4 kB / 387.5 MB, free: 9.211 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 (17): * Single equations (assignments): 17 * 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 9e-05/0.01172, allocations: 176.4 kB / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.01176, allocations: 47.72 kB / 387.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.01196, allocations: 161.6 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.01197, allocations: 7.938 kB / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01197, allocations: 0 / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01198, allocations: 0 / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.01256, allocations: 0.4899 MB / 388.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01256, allocations: 3.938 kB / 388.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.01262, allocations: 31.92 kB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01262, allocations: 0 / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.01263, allocations: 15.94 kB / 388.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01264, allocations: 3.984 kB / 388.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01264, allocations: 0 / 388.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.01282, allocations: 302.4 kB / 388.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.01284, allocations: 31.7 kB / 388.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01286, allocations: 7.984 kB / 388.7 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.272e-05/0.0129, allocations: 8 kB / 388.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.01293, allocations: 15.92 kB / 388.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01294, allocations: 4 kB / 388.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.01311, allocations: 303 kB / 389 MB, free: 7.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 0 / 389 MB, free: 7.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.01329, allocations: 55.92 kB / 389.1 MB, free: 7.5 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 (17): * Single equations (assignments): 17 * 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.001478/0.01477, allocations: 0.645 MB / 389.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.0149, allocations: 87.47 kB / 389.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01491, allocations: 0 / 389.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.01496, allocations: 58.09 kB / 389.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.01529, allocations: 95.94 kB / 390 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.01593, allocations: 0.5745 MB / 390.5 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.016, allocations: 112.3 kB / 390.7 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.01607, allocations: 37.92 kB / 390.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01619, allocations: 114.2 kB / 390.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01619, allocations: 0 / 390.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of Templates: time 0.006278/0.02246, allocations: 3.701 MB / 394.5 MB, free: 2.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.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.78106759628281]