Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001979/0.001979, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00212/0.00212, allocations: 161.7 kB / 24.27 MB, free: 172 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.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3645/0.3645, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.997e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00339/0.00342, allocations: 1.662 MB / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004696, allocations: 0.5725 MB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.004761, allocations: 4 kB / 379.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.005447, allocations: 451 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.00597, allocations: 303.1 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.00641, allocations: 179.4 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.006674, allocations: 183.7 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.00677, allocations: 12.23 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.006934, allocations: 131.7 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.007232, allocations: 243.5 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.007254, allocations: 4 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.007369, allocations: 55.89 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.007487, allocations: 83.72 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.007552, allocations: 39.75 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.007921, allocations: 271 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007924, allocations: 0 / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007925, allocations: 0 / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.00793, allocations: 0 / 381.5 MB, free: 14.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008483/0.008778, allocations: 0.5931 MB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.008817, allocations: 8.031 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.008906, allocations: 48.61 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.009211, allocations: 246.1 kB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.009224, allocations: 4.359 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.009256, allocations: 12.33 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.009462, allocations: 74.16 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.009473, allocations: 192 / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.009487, allocations: 4.125 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.009491, allocations: 3.938 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.009648, allocations: 43.97 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.01025, allocations: 348.4 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.01053, allocations: 66.48 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.01062, allocations: 24.97 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.01064, allocations: 0 / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.01067, allocations: 34.56 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.01067, allocations: 0 / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001767/0.01244, allocations: 0.5046 MB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.01249, allocations: 55.41 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.01352, allocations: 0.8614 MB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.01355, allocations: 29.7 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.01375, allocations: 220 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.0138, allocations: 39.69 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.01385, allocations: 21.72 kB / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.01407, allocations: 366.7 kB / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.01424, allocations: 55.95 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.01439, allocations: 67.89 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.0147, allocations: 125 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.0147, allocations: 0 / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004054/0.01511, allocations: 201.2 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.01524, allocations: 14.03 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01525, allocations: 0 / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.01527, allocations: 3.984 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01539, allocations: 23.98 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.0154, allocations: 3.938 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.01548, allocations: 11.98 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.01549, allocations: 0 / 385.5 MB, free: 10.51 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 (11): * Single equations (assignments): 11 * 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.0002422/0.01573, allocations: 229.6 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.01581, allocations: 47.72 kB / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.01633, allocations: 229.5 kB / 386 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01633, allocations: 0 / 386 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01633, allocations: 0 / 386 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01634, allocations: 0 / 386 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.01727, allocations: 0.5347 MB / 386.6 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.01727, allocations: 3.984 kB / 386.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.01739, allocations: 27.98 kB / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01739, allocations: 0 / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.0174, allocations: 0 / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.01741, allocations: 12.06 kB / 386.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01741, allocations: 7.938 kB / 386.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.0179, allocations: 305 kB / 386.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.01796, allocations: 43.67 kB / 387 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.01799, allocations: 3.984 kB / 387 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.01812, allocations: 11.94 kB / 387 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.01817, allocations: 11.98 kB / 387 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01818, allocations: 7.938 kB / 387 MB, free: 8.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007669/0.01895, allocations: 0.6511 MB / 387.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01895, allocations: 0 / 387.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.01927, allocations: 35.94 kB / 387.7 MB, free: 8.277 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002396/0.02167, allocations: 0.4895 MB / 388.2 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.02208, allocations: 127.8 kB / 388.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02208, allocations: 0 / 388.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.02225, allocations: 67.89 kB / 388.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.02271, allocations: 34.28 kB / 388.4 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.0242, allocations: 0.8933 MB / 389.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.02449, allocations: 244.7 kB / 389.5 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.02458, allocations: 32.45 kB / 389.6 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.02464, allocations: 16.5 kB / 389.6 MB, free: 6.547 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.02464, allocations: 0 / 389.6 MB, free: 6.547 MB / 362.7 MB Notification: Performance of Templates: time 0.00634/0.03098, allocations: 1.817 MB / 391.4 MB, free: 4.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.9456752460682765]