Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0009155/0.0009155, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009222/0.0009222, allocations: 161 kB / 24.56 MB, free: 12 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 0.9753/0.9753, allocations: 177.1 MB / 205 MB, free: 5.629 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.2688/0.2688, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.109e-05, allocations: 6.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001972/0.001993, allocations: 1.642 MB / 377.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.00312, allocations: 1.278 MB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.003167, allocations: 0 / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.003365, allocations: 19.86 kB / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.003641, allocations: 95.48 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.003837, allocations: 95.62 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003982, allocations: 67.78 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.004084, allocations: 7.984 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.004149, allocations: 35.91 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.004241, allocations: 23.91 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.004261, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.004399, allocations: 91.81 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.004441, allocations: 15.92 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.004471, allocations: 15.98 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.004668, allocations: 127.6 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004671, allocations: 0 / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004671, allocations: 0 / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004676, allocations: 4 kB / 379.5 MB, free: 1.109 MB / 346.7 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.0003875/0.005063, allocations: 435.9 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.005097, allocations: 8.031 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.005139, allocations: 8.891 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.005282, allocations: 139.7 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.005292, allocations: 4.375 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.005312, allocations: 8.375 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.005435, allocations: 96.03 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005446, allocations: 192 / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.005458, allocations: 4.125 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005463, allocations: 0 / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.005491, allocations: 15.92 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.00574, allocations: 275.8 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.005898, allocations: 43.05 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.005919, allocations: 15.69 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.005938, allocations: 7.875 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.005958, allocations: 37.39 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.00596, allocations: 4 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003241/0.006284, allocations: 105.5 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.006316, allocations: 77.11 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.006427, allocations: 192.2 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.006437, allocations: 25.7 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.006484, allocations: 142.9 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.006502, allocations: 23.8 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.006533, allocations: 23.38 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.006646, allocations: 0.4884 MB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.006662, allocations: 12 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.006696, allocations: 49.06 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.006733, allocations: 27.88 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.006734, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.335e-05/0.006808, allocations: 65.56 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.00682, allocations: 4 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.006824, allocations: 0 / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006835, allocations: 0 / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.006874, allocations: 8 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.00688, allocations: 7.984 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.006903, allocations: 7.984 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.00691, allocations: 4 kB / 381.9 MB, free: 14.54 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 (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 7.702e-05/0.006987, allocations: 160.5 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.007008, allocations: 11.89 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.007133, allocations: 70.08 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007136, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.00714, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.007144, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.007393, allocations: 325.4 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007395, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.007428, allocations: 19.92 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.00743, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.007438, allocations: 4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.007438, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.00744, allocations: 4 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.007555, allocations: 208.3 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.007564, allocations: 7.953 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.007578, allocations: 7.984 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.00761, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.007641, allocations: 7.984 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.007644, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.007711, allocations: 161.2 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.007711, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.007904, allocations: 35.88 kB / 382.9 MB, free: 13.46 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 (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.00102/0.008924, allocations: 491.7 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.147e-05/0.009015, allocations: 27.67 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009016, allocations: 0 / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.009039, allocations: 27.81 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.009227, allocations: 19.92 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.009494, allocations: 165.9 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.009529, allocations: 59.34 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.009566, allocations: 19.97 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.009595, allocations: 16.5 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009595, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003699/0.01329, allocations: 2.004 MB / 385.7 MB, free: 10.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.122298758942634]