Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0008813/0.0008813, allocations: 87.67 kB / 21.44 MB, free: 3.113 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.003483/0.003483, allocations: 152.5 kB / 24.69 MB, free: 9.426 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.9121/0.9121, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2481/0.2481, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.789e-05/3.975e-05, allocations: 4.812 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004075/0.004115, allocations: 1.658 MB / 442.5 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.006287, allocations: 1.274 MB / 443.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.006399, allocations: 4 kB / 443.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.006694, allocations: 23.8 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.007245, allocations: 95.42 kB / 443.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.007851, allocations: 181.8 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.008098, allocations: 83.75 kB / 444.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.008239, allocations: 8 kB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.008348, allocations: 43.89 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.008504, allocations: 27.91 kB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.008528, allocations: 4 kB / 444.3 MB, free: 320 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.008819, allocations: 95.81 kB / 444.3 MB, free: 224 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.008902, allocations: 27.91 kB / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.008944, allocations: 15.94 kB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.009309, allocations: 155.5 kB / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.009314, allocations: 0 / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.009315, allocations: 0 / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.009321, allocations: 0 / 444.5 MB, free: 24 kB / 410.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.2045/0.2138, allocations: 334.6 kB / 444.9 MB, free: 46.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.2139, allocations: 11.56 kB / 444.9 MB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.2139, allocations: 7.797 kB / 444.9 MB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.2142, allocations: 144.9 kB / 445 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2142, allocations: 0.9688 kB / 445 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2142, allocations: 7.031 kB / 445 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2144, allocations: 103.8 kB / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2144, allocations: 192 / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2144, allocations: 1.375 kB / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2144, allocations: 3.531 kB / 445.1 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2145, allocations: 47 kB / 445.2 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2148, allocations: 240.3 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.215, allocations: 49.55 kB / 445.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.215, allocations: 26.41 kB / 445.5 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.215, allocations: 1.188 kB / 445.5 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2151, allocations: 41.69 kB / 445.5 MB, free: 46.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2151, allocations: 2.188 kB / 445.5 MB, free: 46.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006858/0.2157, allocations: 231.6 kB / 445.8 MB, free: 46.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2158, allocations: 81.61 kB / 445.8 MB, free: 46.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2159, allocations: 151.3 kB / 446 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.2159, allocations: 25.7 kB / 446 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.2159, allocations: 95.92 kB / 446.1 MB, free: 45.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.216, allocations: 27.47 kB / 446.1 MB, free: 45.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.216, allocations: 23.88 kB / 446.2 MB, free: 45.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.216, allocations: 321 kB / 446.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.2161, allocations: 34.42 kB / 446.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.355e-05/0.2162, allocations: 84.69 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.2164, allocations: 89.12 kB / 446.7 MB, free: 45.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2164, allocations: 3.469 kB / 446.7 MB, free: 45.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000215/0.2166, allocations: 133 kB / 446.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2166, allocations: 6.25 kB / 446.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2166, allocations: 0 / 446.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2166, allocations: 0 / 446.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2167, allocations: 19.48 kB / 446.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2167, allocations: 0 / 446.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.2168, allocations: 12.78 kB / 446.9 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.2168, allocations: 12.25 kB / 446.9 MB, free: 45.43 MB / 410.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 (7): * Single equations (assignments): 7 * 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 5.908e-05/0.2169, allocations: 120.8 kB / 447 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.2169, allocations: 17.83 kB / 447 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.2172, allocations: 134.8 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2172, allocations: 3.094 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2172, allocations: 0.6562 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2172, allocations: 0 / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.2176, allocations: 351.8 kB / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2176, allocations: 3.5 kB / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.2176, allocations: 24.08 kB / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2176, allocations: 0 / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2177, allocations: 4 kB / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2177, allocations: 0 / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2177, allocations: 6.406 kB / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.2179, allocations: 222.1 kB / 447.7 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.2179, allocations: 13.97 kB / 447.7 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.2179, allocations: 3.281 kB / 447.7 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.218, allocations: 13.08 kB / 447.8 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.218, allocations: 6.328 kB / 447.8 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.218, allocations: 7.031 kB / 447.8 MB, free: 44.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.2181, allocations: 113.3 kB / 447.9 MB, free: 44.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2181, allocations: 0 / 447.9 MB, free: 44.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000329/0.2184, allocations: 44.61 kB / 447.9 MB, free: 44.71 MB / 410.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 (7): * Single equations (assignments): 7 * 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.001166/0.2196, allocations: 0.5274 MB / 448.5 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.2198, allocations: 90.7 kB / 448.5 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2198, allocations: 0 / 448.5 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.2199, allocations: 52.28 kB / 448.6 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.2203, allocations: 23 kB / 448.6 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.2208, allocations: 234.3 kB / 448.8 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.607e-05/0.2208, allocations: 81.94 kB / 448.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.2209, allocations: 24.05 kB / 449 MB, free: 44.25 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2209, allocations: 4 kB / 449 MB, free: 44.24 MB / 410.7 MB Notification: Performance of Templates: time 0.003533/0.2244, allocations: 2.236 MB / 451.2 MB, free: 43.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.035277678631246]