Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2311/0.2311, allocations: 46.88 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 79.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4058, allocations: 65.98 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003884/0.4097, allocations: 1.64 MB / 0.5628 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.4109, allocations: 0.5449 MB / 0.5633 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.411, allocations: 8 kB / 0.5633 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.4117, allocations: 455.1 kB / 0.5638 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.4122, allocations: 287.3 kB / 0.5641 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.4126, allocations: 135.6 kB / 0.5642 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.4128, allocations: 167.6 kB / 0.5643 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.4129, allocations: 7.984 kB / 0.5644 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.413, allocations: 107.8 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.4133, allocations: 247.5 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4133, allocations: 4 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.4134, allocations: 31.92 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.4135, allocations: 79.69 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.4136, allocations: 99 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.414, allocations: 261.3 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.414, allocations: 0 / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.414, allocations: 0 / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.414, allocations: 0 / 0.5651 GB, free: 1.008 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.0008766/0.4149, allocations: 0.6491 MB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4149, allocations: 8.031 kB / 0.5658 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.415, allocations: 48.66 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.4154, allocations: 304.5 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.4154, allocations: 384 / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4154, allocations: 8.375 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.4156, allocations: 51.22 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4156, allocations: 192 / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4156, allocations: 3.938 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4156, allocations: 0 / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.4157, allocations: 35.97 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.4163, allocations: 376.8 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.4164, allocations: 42.5 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.4165, allocations: 24.94 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.4165, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.4165, allocations: 38.56 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4165, allocations: 0 / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003743/0.4169, allocations: 125.3 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.417, allocations: 51.41 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/0.4178, allocations: 0.8575 MB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.4179, allocations: 25.7 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.418, allocations: 224 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.4181, allocations: 7.953 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.4181, allocations: 13.72 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4183, allocations: 366.7 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.4183, allocations: 15.98 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/0.4184, allocations: 11.98 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4185, allocations: 45.11 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4185, allocations: 3.938 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002157/0.4188, allocations: 113.3 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4188, allocations: 6.188 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4188, allocations: 0 / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4188, allocations: 0 / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.4189, allocations: 15.92 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4189, allocations: 0 / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.419, allocations: 4 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.419, allocations: 4 kB / 0.5685 GB, free: 13.34 MB / 414.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 (3): * Single equations (assignments): 3 * 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.0002065/0.4192, allocations: 217.7 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.4192, allocations: 43.72 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.4195, allocations: 124.9 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4195, allocations: 0 / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4195, allocations: 0 / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4195, allocations: 0 / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.4198, allocations: 297.5 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4198, allocations: 0 / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.4199, allocations: 7.984 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4199, allocations: 4 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.4199, allocations: 0 / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4199, allocations: 0 / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4199, allocations: 0 / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.4202, allocations: 207.2 kB / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.4203, allocations: 112.8 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4203, allocations: 0 / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.4204, allocations: 4 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.4204, allocations: 3.984 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.4204, allocations: 3.938 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006697/0.4211, allocations: 0.6511 MB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4211, allocations: 0 / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.4213, allocations: 19.94 kB / 0.5701 GB, free: 11.56 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 (3): * Single equations (assignments): 3 * 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.001352/0.4227, allocations: 352.3 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4229, allocations: 35.95 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4229, allocations: 4 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.423, allocations: 19.98 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.4234, allocations: 29.89 kB / 0.5706 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4246, allocations: 0.806 MB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.4252, allocations: 0.8182 MB / 0.5721 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.4252, allocations: 15.73 kB / 0.5722 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.4252, allocations: 11.44 kB / 0.5722 GB, free: 9.535 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4252, allocations: 0 / 0.5722 GB, free: 9.535 MB / 414.1 MB Notification: Performance of Templates: time 0.005167/0.4304, allocations: 1.288 MB / 0.5734 GB, free: 8.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.245350043755025]