Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001616/0.001616, allocations: 84.34 kB / 20.95 MB, free: 3.445 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.001952/0.001952, allocations: 165.3 kB / 24.27 MB, free: 140 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.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3711/0.3711, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.508e-05, allocations: 6.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003332/0.003367, allocations: 1.603 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004573, allocations: 0.5375 MB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.004635, allocations: 3.938 kB / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.004965, allocations: 75.7 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.005289, allocations: 103.5 kB / 379.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.005628, allocations: 115.7 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.005822, allocations: 83.75 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.005926, allocations: 11.98 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.006018, allocations: 43.83 kB / 379.9 MB, free: 364 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.006127, allocations: 47.94 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.00615, allocations: 4 kB / 379.9 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.006252, allocations: 43.92 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.006309, allocations: 19.88 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.006353, allocations: 19.91 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.006574, allocations: 103.6 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006579, allocations: 0 / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.00658, allocations: 4 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.006587, allocations: 4 kB / 380.1 MB, free: 116 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.0005989/0.007186, allocations: 333.6 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.007229, allocations: 12.03 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.007283, allocations: 8.891 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.007495, allocations: 145.6 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.007506, allocations: 384 / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.007535, allocations: 8.375 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.007702, allocations: 50.23 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.007714, allocations: 4.125 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.007729, allocations: 12.12 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.007738, allocations: 4 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.007844, allocations: 23.97 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.008406, allocations: 240.5 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.00859, allocations: 50.47 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.00869, allocations: 20.8 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.008721, allocations: 0 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.008777, allocations: 38.64 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.008778, allocations: 4 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001343/0.01012, allocations: 237.2 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.01018, allocations: 51.41 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.01051, allocations: 207.3 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.01054, allocations: 25.7 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01065, allocations: 112 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.01069, allocations: 19.94 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.01076, allocations: 25.7 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.01099, allocations: 326.8 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.01111, allocations: 35.91 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.01123, allocations: 27.98 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.01151, allocations: 72.81 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01151, allocations: 0 / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002695/0.01178, allocations: 117.6 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.0118, allocations: 8 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01181, allocations: 3.938 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.01182, allocations: 0 / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01194, allocations: 19.92 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01194, allocations: 8 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.01199, allocations: 7.922 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.012, allocations: 4 kB / 382.3 MB, free: 13.71 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.0001301/0.01213, allocations: 137.8 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.01217, allocations: 7.953 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.0125, allocations: 131 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.0125, allocations: 0 / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01251, allocations: 0 / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.01252, allocations: 7.984 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.01335, allocations: 351.3 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01335, allocations: 7.969 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.01345, allocations: 19.98 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01345, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01346, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.01347, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01347, allocations: 4.078 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.01382, allocations: 228.1 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.01384, allocations: 7.953 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.01386, allocations: 4 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.01394, allocations: 15.98 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.01398, allocations: 3.938 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.01399, allocations: 4 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.01415, allocations: 151.9 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01415, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.01442, allocations: 23.98 kB / 383.4 MB, free: 12.56 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.002192/0.01662, allocations: 494.1 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.01687, allocations: 75.89 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01687, allocations: 0 / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.01697, allocations: 31.97 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.01738, allocations: 31.89 kB / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.01798, allocations: 269.4 kB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01809, allocations: 92.31 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.01816, allocations: 25.02 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.0182, allocations: 16.5 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0182, allocations: 4 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Templates: time 0.004657/0.02286, allocations: 1.415 MB / 385.8 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.808017228031531]