Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.001421/0.001421, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001497/0.001497, allocations: 161.6 kB / 24.27 MB, free: 172 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.476/1.476, 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.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.3541/0.3541, allocations: 34.27 MB / 295.3 MB, free: 0.668 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.538e-05/4.702e-05, allocations: 2.312 kB / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.00369/0.003737, allocations: 1.669 MB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.00533, allocations: 0.5374 MB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.005422, allocations: 4 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.005839, allocations: 59.78 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.006251, allocations: 91.55 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.006661, allocations: 139.4 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.006881, allocations: 79.81 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.007041, allocations: 16.22 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.007164, allocations: 55.81 kB / 380 MB, free: 260 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.00729, allocations: 39.95 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.007314, allocations: 4 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.007455, allocations: 55.84 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.007548, allocations: 23.86 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.007596, allocations: 19.94 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.007839, allocations: 103.7 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007842, allocations: 0 / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007843, allocations: 4 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.007848, allocations: 0 / 380.2 MB, free: 8 kB / 346.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.0009236/0.008772, allocations: 353.5 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.008812, allocations: 12.03 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.008873, allocations: 12.89 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.009083, allocations: 141.6 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.009095, allocations: 384 / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.009125, allocations: 4.375 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.009326, allocations: 66.22 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.009341, allocations: 8.078 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.009356, allocations: 8.125 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.009362, allocations: 4 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.00951, allocations: 35.97 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.009956, allocations: 240.5 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.01023, allocations: 58.52 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.01031, allocations: 24.97 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.01034, allocations: 4 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.01037, allocations: 30.56 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.01037, allocations: 4 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001671/0.01204, allocations: 397.3 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.01211, allocations: 55.41 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.0124, allocations: 198.8 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.01243, allocations: 25.7 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01254, allocations: 100.1 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.0126, allocations: 43.69 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.01267, allocations: 21.72 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.01291, allocations: 326.8 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.01306, allocations: 47.91 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.01319, allocations: 43.95 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.01347, allocations: 100.8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.01348, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003868/0.01386, allocations: 157.7 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.01389, allocations: 7.984 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01389, allocations: 0 / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.01392, allocations: 0 / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01405, allocations: 27.98 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01405, allocations: 4 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.01411, allocations: 7.984 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01412, allocations: 4 kB / 382.7 MB, free: 13.31 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 (11): * Single equations (assignments): 11 * 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.0001401/0.01426, allocations: 141.6 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.01431, allocations: 15.91 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.01473, allocations: 154.4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01474, allocations: 4 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01474, allocations: 4 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.01475, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.01545, allocations: 415.6 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01546, allocations: 0 / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.01558, allocations: 23.98 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01558, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.01559, allocations: 12.06 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.0156, allocations: 4.125 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.0156, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.01602, allocations: 261 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.01604, allocations: 11.91 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.01607, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01617, allocations: 15.92 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.01622, allocations: 15.98 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01623, allocations: 4 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.01638, allocations: 143.2 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01638, allocations: 0 / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.01667, allocations: 24 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002282/0.01895, allocations: 0.4967 MB / 384.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.01933, allocations: 99.88 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01933, allocations: 0 / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.01949, allocations: 51.91 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.01992, allocations: 40 kB / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007392/0.02066, allocations: 286.8 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.02079, allocations: 96.66 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.02086, allocations: 20.47 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.02091, allocations: 24.44 kB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02091, allocations: 0 / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Templates: time 0.005289/0.0262, allocations: 1.585 MB / 386.6 MB, free: 9.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.733242591028102]