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.001853/0.001853, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001988/0.001988, allocations: 165.3 kB / 24.27 MB, free: 152 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.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3571/0.3571, allocations: 34.27 MB / 295.3 MB, free: 0.6836 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|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.1.|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.664e-06/1.664e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.214e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003202/0.003234, allocations: 1.619 MB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004396, allocations: 0.5337 MB / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.004446, allocations: 0 / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.004725, allocations: 75.64 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.005042, allocations: 103.5 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.005333, allocations: 95.69 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.005511, allocations: 87.73 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.005595, allocations: 8 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.005694, allocations: 51.81 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005809, allocations: 51.94 kB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.005827, allocations: 0 / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.005931, allocations: 47.92 kB / 380 MB, free: 260 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.005989, allocations: 23.86 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.006025, allocations: 15.92 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.006241, allocations: 107.6 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.006246, allocations: 7.938 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006247, allocations: 0 / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.006251, allocations: 0 / 380.1 MB, free: 104 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005994/0.006851, allocations: 443.5 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.006888, allocations: 12.03 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.006944, allocations: 12.84 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.007171, allocations: 153.1 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.007181, allocations: 384 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.007204, allocations: 8.375 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.007338, allocations: 46.25 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.007357, allocations: 12.11 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.007369, allocations: 4.125 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.007373, allocations: 0 / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.007463, allocations: 19.98 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.00789, allocations: 299.7 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.008028, allocations: 54.98 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.008083, allocations: 19.7 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.008106, allocations: 4 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.008144, allocations: 33.39 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.008145, allocations: 4 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008759/0.009021, allocations: 217.5 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.009066, allocations: 51.41 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.009326, allocations: 254.4 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.009345, allocations: 25.7 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.009462, allocations: 158.9 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.009506, allocations: 35.8 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.009558, allocations: 31.38 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002786/0.009836, allocations: 0.5079 MB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.009908, allocations: 19.98 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.009976, allocations: 27.86 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01012, allocations: 55.67 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01012, allocations: 4 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003174/0.01044, allocations: 93.58 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01045, allocations: 4 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01045, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01047, allocations: 8 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.01057, allocations: 15.94 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.01057, allocations: 3.984 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.01062, allocations: 8 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.01062, allocations: 0 / 382.7 MB, free: 13.29 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 0.000124/0.01075, allocations: 164.5 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.01079, allocations: 15.91 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.01107, allocations: 107.1 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01107, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01107, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.01108, allocations: 3.984 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.01166, allocations: 417.3 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01166, allocations: 0 / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.01173, allocations: 15.94 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01173, allocations: 4 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01174, allocations: 3.984 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01174, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.01175, allocations: 4.078 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.01206, allocations: 263.5 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01208, allocations: 11.89 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.0121, allocations: 4 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.01217, allocations: 8 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.01221, allocations: 7.922 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01222, allocations: 4 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.01237, allocations: 180.2 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01237, allocations: 0 / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.01263, allocations: 19.98 kB / 383.9 MB, free: 11.99 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.003476/0.0161, allocations: 494.8 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.01633, allocations: 67.59 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01634, allocations: 0 / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/0.01643, allocations: 39.67 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.01675, allocations: 27.89 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.01728, allocations: 245.8 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01739, allocations: 92.8 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.01744, allocations: 13.09 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.01748, allocations: 20.5 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01748, allocations: 0 / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Templates: time 0.004915/0.0224, allocations: 1.368 MB / 386.3 MB, free: 9.801 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.986921995994635]