Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001963/0.001963, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002133/0.002133, allocations: 165.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.561/1.561, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.2119/0.2119, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.124e-05/4.336e-05, allocations: 2.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003426/0.00347, allocations: 1.602 MB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.005709, allocations: 1.247 MB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.005786, allocations: 0 / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.006051, allocations: 27.78 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.006382, allocations: 91.5 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.006692, allocations: 107.7 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.006857, allocations: 75.7 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.006963, allocations: 8 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.007045, allocations: 35.89 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.007175, allocations: 19.92 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.007196, allocations: 4 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.007373, allocations: 95.81 kB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.007436, allocations: 19.91 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.007469, allocations: 12 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.007771, allocations: 147.5 kB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007775, allocations: 3.938 kB / 446.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007776, allocations: 0 / 446.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.007785, allocations: 4 kB / 446.2 MB, free: 1.887 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005987/0.008383, allocations: 321.7 kB / 446.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.008422, allocations: 8.031 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.008473, allocations: 8.891 kB / 446.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.008697, allocations: 133.5 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.008714, allocations: 8.375 kB / 446.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.008734, allocations: 4.375 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.008929, allocations: 89.66 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.008945, allocations: 8.078 kB / 446.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.008964, allocations: 8.125 kB / 446.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.008969, allocations: 0 / 446.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.009083, allocations: 23.97 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.00949, allocations: 220.6 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.009741, allocations: 50.48 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.009794, allocations: 12.86 kB / 447.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.009822, allocations: 11.92 kB / 447.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.009852, allocations: 34.56 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.009854, allocations: 0 / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007764/0.01063, allocations: 145.5 kB / 447.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.01071, allocations: 85.11 kB / 447.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.01088, allocations: 145.8 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.0109, allocations: 29.7 kB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.01096, allocations: 96.12 kB / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.01099, allocations: 19.78 kB / 447.6 MB, free: 292 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.01103, allocations: 21.72 kB / 447.6 MB, free: 264 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2439/0.2549, allocations: 318.8 kB / 447.9 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2551, allocations: 13.75 kB / 448 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.2552, allocations: 65.39 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.2553, allocations: 51.28 kB / 448.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2553, allocations: 3.719 kB / 448.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002357/0.2555, allocations: 90.67 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2556, allocations: 11.17 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2556, allocations: 0 / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2556, allocations: 1.188 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.2557, allocations: 13.03 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2557, allocations: 3.75 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.2557, allocations: 6.422 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2557, allocations: 1.469 kB / 448.2 MB, free: 18.96 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.844e-05/0.2558, allocations: 116 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2559, allocations: 8.953 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.2561, allocations: 103.1 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2561, allocations: 0.5156 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2561, allocations: 5 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2561, allocations: 4.047 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.2565, allocations: 291.9 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2565, allocations: 4.531 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.2566, allocations: 16.86 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2566, allocations: 0 / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.2566, allocations: 5.672 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2566, allocations: 0 / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2566, allocations: 1.656 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.2568, allocations: 185.9 kB / 448.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.2569, allocations: 9.016 kB / 448.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2569, allocations: 9.641 kB / 448.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.257, allocations: 9.031 kB / 449 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.257, allocations: 3.562 kB / 449 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.257, allocations: 2.906 kB / 449 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.2571, allocations: 114.7 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2571, allocations: 0 / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.2574, allocations: 47.56 kB / 449.1 MB, free: 18.36 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.001824/0.2592, allocations: 0.5272 MB / 449.6 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.2594, allocations: 50.38 kB / 449.7 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2594, allocations: 9.312 kB / 449.7 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.2595, allocations: 27.53 kB / 449.7 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.2598, allocations: 13.94 kB / 449.7 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.2602, allocations: 181.6 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.004e-05/0.2603, allocations: 76.91 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.488e-05/0.2603, allocations: 17.58 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.2604, allocations: 17.92 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2604, allocations: 0 / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of Templates: time 0.005261/0.2657, allocations: 1.831 MB / 451.9 MB, free: 17.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.006923191249371]