Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.000962/0.000962, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001757/0.001757, allocations: 165 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.9847/0.9847, 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.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.2645/0.2645, allocations: 34.25 MB / 295.7 MB, free: 0.7539 MB / 266.7 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.337e-05, allocations: 6.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.00214/0.002163, allocations: 1.653 MB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.002941, allocations: 0.5376 MB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.003005, allocations: 0 / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.003327, allocations: 75.7 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.003772, allocations: 111.5 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.004076, allocations: 91.58 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.004273, allocations: 91.8 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004378, allocations: 8 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.004468, allocations: 47.92 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.00457, allocations: 51.78 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.004586, allocations: 4 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.004676, allocations: 51.91 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.004728, allocations: 23.86 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.004761, allocations: 15.92 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004916, allocations: 79.73 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004919, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004919, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004924, allocations: 0 / 380.9 MB, free: 15.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003858/0.00531, allocations: 443.9 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.005343, allocations: 11.97 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.005389, allocations: 16.84 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.005555, allocations: 145.1 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.005567, allocations: 4.375 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.005588, allocations: 4.375 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.005724, allocations: 58.94 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.005735, allocations: 4.188 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.005746, allocations: 8.125 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005752, allocations: 0 / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.005788, allocations: 15.92 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.006112, allocations: 295.7 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.006186, allocations: 43.05 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.006526, allocations: 15.62 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.006546, allocations: 4.078 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.006567, allocations: 41.33 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.006568, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005197/0.007088, allocations: 173.6 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.007121, allocations: 51.41 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.007269, allocations: 242.4 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.007279, allocations: 29.7 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.00734, allocations: 154.8 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.007367, allocations: 23.8 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.007399, allocations: 27.38 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.00751, allocations: 0.4961 MB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.007532, allocations: 15.98 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.00755, allocations: 12 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.007598, allocations: 43.67 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007599, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.475e-05/0.007684, allocations: 73.59 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007696, allocations: 8 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.0077, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.00771, allocations: 3.938 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.007781, allocations: 19.98 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007786, allocations: 0 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.007805, allocations: 4 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.007812, allocations: 4 kB / 383.4 MB, free: 13.1 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 (8): * Single equations (assignments): 8 * 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.709e-05/0.007879, allocations: 172.4 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.007901, allocations: 15.91 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.008027, allocations: 83.12 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.008028, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.008032, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.008034, allocations: 4 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.008317, allocations: 377.4 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008318, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.008357, allocations: 19.98 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008358, allocations: 4.031 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.008366, allocations: 7.938 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008367, allocations: 0 / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008368, allocations: 0 / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.008489, allocations: 239.4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.008498, allocations: 7.953 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.00851, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-05/0.008544, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.008576, allocations: 11.92 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.008579, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.105e-05/0.00865, allocations: 175.2 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00865, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.00882, allocations: 23.92 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009848/0.009805, allocations: 433.4 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.009913, allocations: 47.59 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009915, allocations: 0 / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.009945, allocations: 31.61 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.01015, allocations: 23.94 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.01049, allocations: 233.9 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.01053, allocations: 67.34 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.01056, allocations: 17.02 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.01059, allocations: 12.5 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01059, allocations: 0 / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003201/0.01379, allocations: 1.478 MB / 386.8 MB, free: 9.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.1318955780006945]