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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 193.4 kB / 22.98 MB, free: 5.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 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.2662/0.2662, allocations: 44.93 MB / 351.6 MB, free: 12.2 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001981/0.001981, allocations: 71.88 kB / 495.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3869, allocations: 64.26 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003455/0.3904, allocations: 1.609 MB / 0.548 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.3912, allocations: 429.8 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.3913, allocations: 1.094 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3916, allocations: 94.25 kB / 0.5485 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.3918, allocations: 72.84 kB / 0.5486 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.3921, allocations: 113.9 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3923, allocations: 69.23 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3924, allocations: 21.19 kB / 0.5488 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.3925, allocations: 32.17 kB / 0.5488 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3926, allocations: 65.55 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3926, allocations: 2.938 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.3927, allocations: 39.36 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.3928, allocations: 24.12 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.3928, allocations: 29.12 kB / 0.5489 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.393, allocations: 111.9 kB / 0.549 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.393, allocations: 0 / 0.549 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.393, allocations: 0 / 0.549 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.393, allocations: 1.281 kB / 0.549 GB, free: 11.23 MB / 398.1 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.0005493/0.3936, allocations: 419.8 kB / 0.5494 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3936, allocations: 9.781 kB / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.3937, allocations: 13.03 kB / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3939, allocations: 196 kB / 0.5497 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.394, allocations: 2.062 kB / 0.5497 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.394, allocations: 2.969 kB / 0.5497 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3942, allocations: 62.7 kB / 0.5497 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3942, allocations: 0 / 0.5497 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3942, allocations: 1.125 kB / 0.5497 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3942, allocations: 5.562 kB / 0.5497 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3943, allocations: 35.47 kB / 0.5498 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.3948, allocations: 304.1 kB / 0.55 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3949, allocations: 46.03 kB / 0.5501 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.395, allocations: 20.61 kB / 0.5501 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.395, allocations: 1.312 kB / 0.5501 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/0.395, allocations: 39.88 kB / 0.5502 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.395, allocations: 0 / 0.5502 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009393/0.396, allocations: 232.5 kB / 0.5504 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.396, allocations: 56.81 kB / 0.5504 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3963, allocations: 229.5 kB / 0.5506 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3963, allocations: 26.83 kB / 0.5507 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.3964, allocations: 109 kB / 0.5508 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3964, allocations: 23.45 kB / 0.5508 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.3965, allocations: 32.47 kB / 0.5508 GB, free: 9.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3966, allocations: 322.2 kB / 0.5511 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.3967, allocations: 37.02 kB / 0.5512 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.3968, allocations: 31.97 kB / 0.5512 GB, free: 9.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.397, allocations: 69.92 kB / 0.5513 GB, free: 9.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.397, allocations: 0 / 0.5513 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002205/0.3972, allocations: 108.5 kB / 0.5514 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3972, allocations: 5.5 kB / 0.5514 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3972, allocations: 0 / 0.5514 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3972, allocations: 5.219 kB / 0.5514 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3973, allocations: 22.27 kB / 0.5514 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3973, allocations: 3.938 kB / 0.5514 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.3974, allocations: 11.55 kB / 0.5514 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3974, allocations: 1.906 kB / 0.5514 GB, free: 9.059 MB / 398.1 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.0001084/0.3975, allocations: 125.8 kB / 0.5515 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.3975, allocations: 17.25 kB / 0.5516 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.3978, allocations: 138.9 kB / 0.5517 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3978, allocations: 1.219 kB / 0.5517 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3979, allocations: 3.938 kB / 0.5517 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3979, allocations: 5.172 kB / 0.5517 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.3984, allocations: 411.4 kB / 0.5521 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3984, allocations: 0 / 0.5521 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.3985, allocations: 21.64 kB / 0.5521 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3985, allocations: 5.25 kB / 0.5521 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3985, allocations: 5.031 kB / 0.5521 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3985, allocations: 1.203 kB / 0.5521 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3985, allocations: 5.109 kB / 0.5521 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3988, allocations: 220.5 kB / 0.5523 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.3989, allocations: 95.41 kB / 0.5524 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3989, allocations: 2.125 kB / 0.5524 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.399, allocations: 3.562 kB / 0.5524 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3991, allocations: 6.547 kB / 0.5524 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.3991, allocations: 7.312 kB / 0.5524 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.3992, allocations: 171.8 kB / 0.5526 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3992, allocations: 0 / 0.5526 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3995, allocations: 22.88 kB / 0.5526 GB, free: 7.992 MB / 398.1 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.001697/0.4012, allocations: 453.6 kB / 0.5531 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.4015, allocations: 77.66 kB / 0.5531 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4015, allocations: 4 kB / 0.5531 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4016, allocations: 38.72 kB / 0.5532 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.402, allocations: 21.42 kB / 0.5532 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.4026, allocations: 274.2 kB / 0.5535 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.403, allocations: 0.7133 MB / 0.5542 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.534e-05/0.4031, allocations: 23.83 kB / 0.5542 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.4032, allocations: 12.78 kB / 0.5542 GB, free: 6.785 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4032, allocations: 1.062 kB / 0.5542 GB, free: 6.785 MB / 398.1 MB Notification: Performance of Templates: time 0.004547/0.4077, allocations: 1.397 MB / 0.5556 GB, free: 6.07 MB / 398.1 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: 5.396053445525467]