Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001339/0.001339, allocations: 113.1 kB / 21.85 MB, free: 60 kB / 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.001487/0.001487, allocations: 216.7 kB / 25.13 MB, free: 3.602 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.515/1.515, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2215/0.2215, allocations: 46.93 MB / 362 MB, free: 4.219 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [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.002375/0.002375, allocations: 79.86 kB / 0.4978 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3346, allocations: 66.08 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003367/0.338, allocations: 1.706 MB / 0.564 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3391, allocations: 0.5888 MB / 0.5646 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.3392, allocations: 0 / 0.5646 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.3394, allocations: 23.8 kB / 0.5646 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.3397, allocations: 91.48 kB / 0.5647 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.3401, allocations: 139.1 kB / 0.5648 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3403, allocations: 87.75 kB / 0.5649 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3404, allocations: 16 kB / 0.5649 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.3405, allocations: 43.84 kB / 0.565 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.3405, allocations: 51.7 kB / 0.565 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3406, allocations: 8 kB / 0.565 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.3408, allocations: 99.94 kB / 0.5651 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.3408, allocations: 19.92 kB / 0.5651 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.3409, allocations: 35.8 kB / 0.5652 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.3412, allocations: 161.8 kB / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3412, allocations: 0 / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3412, allocations: 0 / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3412, allocations: 0 / 0.5653 GB, free: 1.18 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.0006664/0.3418, allocations: 373.5 kB / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3419, allocations: 8.031 kB / 0.5657 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.3419, allocations: 8.891 kB / 0.5657 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3421, allocations: 150.9 kB / 0.5659 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3422, allocations: 384 / 0.5659 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3422, allocations: 4.375 kB / 0.5659 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.3425, allocations: 125.1 kB / 0.566 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3425, allocations: 0 / 0.566 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3425, allocations: 4 kB / 0.566 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3425, allocations: 0 / 0.566 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.3428, allocations: 63.92 kB / 0.566 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.3434, allocations: 287.8 kB / 0.5663 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.3436, allocations: 66.53 kB / 0.5664 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3438, allocations: 44.94 kB / 0.5664 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3438, allocations: 4.078 kB / 0.5664 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3439, allocations: 34.56 kB / 0.5665 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3439, allocations: 0 / 0.5665 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001601/0.3455, allocations: 381 kB / 0.5668 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.3455, allocations: 81.11 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.3457, allocations: 162.4 kB / 0.5671 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3457, allocations: 25.7 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.3458, allocations: 96.12 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.3458, allocations: 35.69 kB / 0.5672 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.3459, allocations: 25.72 kB / 0.5672 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3461, allocations: 322.9 kB / 0.5675 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3463, allocations: 79.8 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.3466, allocations: 111.3 kB / 0.5677 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.3471, allocations: 152.7 kB / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3471, allocations: 0 / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005932/0.3477, allocations: 193.4 kB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3477, allocations: 4 kB / 0.5681 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3477, allocations: 0 / 0.5681 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3477, allocations: 0 / 0.5681 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.348, allocations: 43.89 kB / 0.5681 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.348, allocations: 0 / 0.5681 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3481, allocations: 24.34 kB / 0.5681 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3481, allocations: 4 kB / 0.5681 GB, free: 14.1 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 (10): * Single equations (assignments): 10 * 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.0001103/0.3482, allocations: 117.8 kB / 0.5682 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3483, allocations: 11.95 kB / 0.5682 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/0.3489, allocations: 210.4 kB / 0.5684 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3489, allocations: 3.938 kB / 0.5684 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3489, allocations: 4 kB / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3489, allocations: 4.078 kB / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009602/0.3499, allocations: 477.2 kB / 0.5689 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3499, allocations: 0 / 0.5689 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3501, allocations: 35.95 kB / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3501, allocations: 0 / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3501, allocations: 12 kB / 0.569 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3501, allocations: 0 / 0.569 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3501, allocations: 0 / 0.569 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.3508, allocations: 287.2 kB / 0.5692 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.3508, allocations: 11.91 kB / 0.5692 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.3508, allocations: 4 kB / 0.5692 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.351, allocations: 23.97 kB / 0.5693 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.351, allocations: 15.97 kB / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.3511, allocations: 0 / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3512, allocations: 126.2 kB / 0.5694 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3512, allocations: 4 kB / 0.5694 GB, free: 12.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000325/0.3515, allocations: 51.86 kB / 0.5695 GB, free: 12.64 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 (9): * Single equations (assignments): 9 * 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.001791/0.3533, allocations: 495.5 kB / 0.5699 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.354, allocations: 155.8 kB / 0.5701 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.354, allocations: 0 / 0.5701 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.3542, allocations: 83.84 kB / 0.5702 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3546, allocations: 19.94 kB / 0.5702 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.3552, allocations: 226.2 kB / 0.5704 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3555, allocations: 0.7002 MB / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.637e-05/0.3556, allocations: 24.34 kB / 0.5711 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.3557, allocations: 15.44 kB / 0.5711 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 5.52e-07/0.3557, allocations: 0 / 0.5711 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Templates: time 0.006258/0.3619, allocations: 2.545 MB / 0.5736 GB, free: 8.516 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.077244313899428]