Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001513/0.001513, allocations: 88.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.001575/0.001575, allocations: 161.7 kB / 24.27 MB, free: 168 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.555/1.555, allocations: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3625/0.3625, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.115e-05, allocations: 2.312 kB / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003398/0.00343, allocations: 1.627 MB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.004653, allocations: 0.5337 MB / 377.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.004716, allocations: 0 / 377.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.005036, allocations: 99.67 kB / 377.5 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.005402, allocations: 107.5 kB / 377.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.005794, allocations: 111.7 kB / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.006024, allocations: 95.67 kB / 377.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.006144, allocations: 8 kB / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.006257, allocations: 51.88 kB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.006389, allocations: 55.88 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.006404, allocations: 0 / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.006524, allocations: 47.92 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.006583, allocations: 19.92 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.006627, allocations: 19.92 kB / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.006883, allocations: 111.5 kB / 378.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.006886, allocations: 0 / 378.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006887, allocations: 4 kB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.006891, allocations: 0 / 378.2 MB, free: 2.043 MB / 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.0005733/0.007464, allocations: 345.6 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.007503, allocations: 12.03 kB / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.007562, allocations: 12.89 kB / 378.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.007775, allocations: 154 kB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.007784, allocations: 384 / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.007809, allocations: 8.312 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.007984, allocations: 62.16 kB / 378.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.007995, allocations: 192 / 378.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.00801, allocations: 8.125 kB / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.008014, allocations: 0 / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.008125, allocations: 27.98 kB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.008552, allocations: 244.5 kB / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.008673, allocations: 46.5 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.008733, allocations: 24.88 kB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.008754, allocations: 0 / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.008786, allocations: 30.56 kB / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.008787, allocations: 4 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009639/0.009751, allocations: 241.5 kB / 379.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.009797, allocations: 51.41 kB / 379.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.01007, allocations: 230.8 kB / 379.6 MB, free: 440 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.0101, allocations: 25.7 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.01018, allocations: 112.1 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.01022, allocations: 35.8 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.01027, allocations: 21.66 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.01047, allocations: 338.8 kB / 380.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.01056, allocations: 31.97 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.01064, allocations: 23.98 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.01083, allocations: 77.03 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.01083, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002588/0.01109, allocations: 113.7 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01111, allocations: 4 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01111, allocations: 4 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01113, allocations: 3.984 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01124, allocations: 23.92 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01124, allocations: 0 / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.01129, allocations: 4 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.0113, allocations: 3.984 kB / 380.4 MB, free: 15.59 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.0001281/0.01143, allocations: 133.7 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.01147, allocations: 19.91 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.01182, allocations: 139.1 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.01182, allocations: 4 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01183, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01183, allocations: 3.938 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.01241, allocations: 362.9 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01242, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.01249, allocations: 19.98 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01249, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.0125, allocations: 4.031 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.0125, allocations: 3.984 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.01251, allocations: 4 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.01286, allocations: 220.2 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.01288, allocations: 11.91 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01289, allocations: 0 / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.01298, allocations: 11.98 kB / 381.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.01302, allocations: 7.922 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01302, allocations: 4 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.0132, allocations: 176.3 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0132, allocations: 0 / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.01347, allocations: 27.92 kB / 381.6 MB, free: 14.39 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.002275/0.01574, allocations: 491.3 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.016, allocations: 71.89 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.016, allocations: 0 / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.01611, allocations: 35.98 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.0165, allocations: 15.98 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.01715, allocations: 293.2 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.01727, allocations: 104.9 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.839e-05/0.01734, allocations: 16.72 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.01738, allocations: 16.5 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01738, allocations: 0 / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Templates: time 0.004802/0.02218, allocations: 1.417 MB / 384 MB, free: 12.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.8701297210063785]