Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001795/0.001795, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.002151/0.002151, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2297/0.2297, allocations: 44.93 MB / 359.6 MB, free: 6.176 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.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.91 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3303, allocations: 65.47 MB / 0.5582 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003212/0.3335, allocations: 1.602 MB / 0.5598 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3345, allocations: 0.5105 MB / 0.5603 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.3346, allocations: 4 kB / 0.5603 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.3352, allocations: 455.1 kB / 0.5607 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.3357, allocations: 295.3 kB / 0.561 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.336, allocations: 131.3 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.3362, allocations: 163.6 kB / 0.5613 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.3363, allocations: 8.172 kB / 0.5613 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3364, allocations: 107.8 kB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3367, allocations: 255.5 kB / 0.5616 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3367, allocations: 0 / 0.5616 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.3368, allocations: 20 kB / 0.5616 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3369, allocations: 83.69 kB / 0.5617 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.337, allocations: 63.25 kB / 0.5618 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.3373, allocations: 265.1 kB / 0.562 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3373, allocations: 0 / 0.562 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3373, allocations: 0 / 0.562 GB, free: 3.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3373, allocations: 0 / 0.562 GB, free: 3.574 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007385/0.3381, allocations: 0.5699 MB / 0.5626 GB, free: 2.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3381, allocations: 8.031 kB / 0.5626 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.3382, allocations: 48.66 kB / 0.5626 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3385, allocations: 238.8 kB / 0.5629 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.3385, allocations: 4.375 kB / 0.5629 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3385, allocations: 4.312 kB / 0.5629 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3386, allocations: 58.58 kB / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3386, allocations: 0 / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3386, allocations: 3.938 kB / 0.5629 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3387, allocations: 0 / 0.5629 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.3387, allocations: 23.98 kB / 0.563 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.3392, allocations: 312.5 kB / 0.5633 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.3393, allocations: 34.56 kB / 0.5633 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.3393, allocations: 20.86 kB / 0.5633 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3394, allocations: 0 / 0.5633 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3394, allocations: 34.55 kB / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3394, allocations: 0 / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.3397, allocations: 93.41 kB / 0.5634 GB, free: 2.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3397, allocations: 55.41 kB / 0.5635 GB, free: 1.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/0.3407, allocations: 0.8654 MB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3407, allocations: 25.7 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.3409, allocations: 212 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3409, allocations: 11.88 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.3409, allocations: 17.72 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3411, allocations: 358.7 kB / 0.5649 GB, free: 448 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.3412, allocations: 11.92 kB / 0.5649 GB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.3412, allocations: 12 kB / 0.5649 GB, free: 424 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.3413, allocations: 28.91 kB / 0.565 GB, free: 392 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3413, allocations: 3.938 kB / 0.565 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001478/0.3414, allocations: 89.41 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3415, allocations: 4 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3415, allocations: 0 / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3415, allocations: 3.984 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.3415, allocations: 4 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3415, allocations: 0 / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3416, allocations: 4 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3416, allocations: 0 / 0.5651 GB, free: 276 kB / 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 (2): * Single equations (assignments): 2 * 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.0002042/0.3418, allocations: 221.7 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.3419, allocations: 43.72 kB / 0.5653 GB, free: 0 / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.3421, allocations: 104.7 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3421, allocations: 0 / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3421, allocations: 3.938 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3421, allocations: 4 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.3424, allocations: 229.2 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3424, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.3424, allocations: 7.984 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3424, allocations: 4.031 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3424, allocations: 0 / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3424, allocations: 0 / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3424, allocations: 4 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.3426, allocations: 187.1 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3427, allocations: 35.7 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3427, allocations: 8 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.3428, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.3428, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3428, allocations: 4.031 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007019/0.3435, allocations: 0.655 MB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 0 / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3438, allocations: 12 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.001375/0.3451, allocations: 370.4 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.3453, allocations: 27.91 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3453, allocations: 0 / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.3453, allocations: 15.94 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3457, allocations: 29.08 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3468, allocations: 0.8158 MB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3471, allocations: 211.5 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.3471, allocations: 11.44 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3471, allocations: 0 / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of Templates: time 0.007205/0.3543, allocations: 3.596 MB / 0.5715 GB, free: 9.723 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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: 7.8834401266649365]