Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001029/0.001029, allocations: 79.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.001722/0.001722, 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 1.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.438 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.2685/0.2685, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.624e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002872/0.002898, allocations: 1.717 MB / 379.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.003781, allocations: 0.5725 MB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.003858, allocations: 4 kB / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.004422, allocations: 451.1 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.004956, allocations: 303.1 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.005436, allocations: 175.5 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.005778, allocations: 183.6 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.005933, allocations: 12.22 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.006105, allocations: 119.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.006344, allocations: 251.6 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.006361, allocations: 4 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006464, allocations: 47.92 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.006551, allocations: 87.66 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.006596, allocations: 39.73 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.00684, allocations: 215.1 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006844, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006845, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.006852, allocations: 0 / 382.2 MB, free: 14.46 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.0006113/0.007463, allocations: 0.7086 MB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.007507, allocations: 12.03 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.007576, allocations: 48.66 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.007776, allocations: 252.8 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.007786, allocations: 4.375 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.007813, allocations: 4.375 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.007956, allocations: 62.94 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.007968, allocations: 4.188 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.00798, allocations: 4.125 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.007988, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.66e-05/0.008024, allocations: 11.94 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.008495, allocations: 439.6 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.008563, allocations: 47.02 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.008586, allocations: 15.69 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.008604, allocations: 0 / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.008629, allocations: 37.39 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.00863, allocations: 0 / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006588/0.009289, allocations: 264.9 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.009323, allocations: 55.41 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.009813, allocations: 0.6355 MB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.009831, allocations: 29.7 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.009995, allocations: 278.8 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.01003, allocations: 27.73 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.01007, allocations: 27.38 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0008486/0.01092, allocations: 0.5624 MB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.01094, allocations: 8 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.01096, allocations: 11.98 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.01101, allocations: 35.69 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.01101, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000122/0.01113, allocations: 109.4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.01114, allocations: 4 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01115, allocations: 7.938 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.01115, allocations: 0 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.01123, allocations: 19.92 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01124, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.01127, allocations: 8 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.01128, allocations: 0 / 385.9 MB, free: 10.55 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 9.49e-05/0.01137, allocations: 164.5 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.01142, allocations: 51.67 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.01156, allocations: 113.5 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01157, allocations: 0 / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01157, allocations: 3.984 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01157, allocations: 4 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.01198, allocations: 0.5047 MB / 386.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01198, allocations: 4 kB / 386.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.01202, allocations: 15.98 kB / 386.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01202, allocations: 0 / 386.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.01202, allocations: 0 / 386.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.01203, allocations: 8.031 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01203, allocations: 3.938 kB / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.01221, allocations: 279.7 kB / 387 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.01224, allocations: 31.72 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.01226, allocations: 4 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.01229, allocations: 0 / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.01232, allocations: 15.92 kB / 387.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.01233, allocations: 4 kB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002665/0.01259, allocations: 426.8 kB / 387.5 MB, free: 8.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01259, allocations: 0 / 387.5 MB, free: 8.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00018/0.01277, allocations: 32 kB / 387.5 MB, free: 8.816 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.001031/0.0138, allocations: 438.2 kB / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.01391, allocations: 47.59 kB / 388 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01392, allocations: 0 / 388 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.01395, allocations: 23.69 kB / 388 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01419, allocations: 29.89 kB / 388.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.01482, allocations: 0.6196 MB / 388.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.456e-05/0.0149, allocations: 123.2 kB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.01494, allocations: 25.02 kB / 388.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.01498, allocations: 16.5 kB / 388.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01498, allocations: 0 / 388.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of Templates: time 0.004484/0.01946, allocations: 1.745 MB / 390.6 MB, free: 5.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.155887165106833]