Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.008217/0.008217, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.001922/0.001922, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.454/1.454, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2329/0.2329, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1") [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.002356/0.002356, allocations: 84.14 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3371, allocations: 66.07 MB / 0.5628 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003309/0.3405, allocations: 1.705 MB / 0.5644 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3415, allocations: 0.5693 MB / 0.565 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.3416, allocations: 0 / 0.565 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.3422, allocations: 459.1 kB / 0.5654 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.3426, allocations: 299.3 kB / 0.5657 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.343, allocations: 127.3 kB / 0.5658 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.3433, allocations: 183.6 kB / 0.566 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3434, allocations: 8 kB / 0.566 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3435, allocations: 115.7 kB / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.3438, allocations: 247.5 kB / 0.5663 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.3439, allocations: 4 kB / 0.5664 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.344, allocations: 55.91 kB / 0.5664 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3441, allocations: 83.69 kB / 0.5665 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/0.3442, allocations: 103 kB / 0.5666 GB, free: 320 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.3445, allocations: 280.9 kB / 0.5669 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3445, allocations: 0 / 0.5669 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3445, allocations: 0 / 0.5669 GB, free: 44 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3446, allocations: 0 / 0.5669 GB, free: 44 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007727/0.3453, allocations: 0.5933 MB / 0.5674 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3454, allocations: 8.031 kB / 0.5674 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.3454, allocations: 48.59 kB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3457, allocations: 234.8 kB / 0.5677 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3457, allocations: 8.359 kB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3458, allocations: 4.375 kB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3459, allocations: 58.19 kB / 0.5678 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3459, allocations: 192 / 0.5678 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3459, allocations: 7.938 kB / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3459, allocations: 4 kB / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.346, allocations: 31.91 kB / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.3466, allocations: 367.8 kB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3467, allocations: 46.59 kB / 0.5682 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.3467, allocations: 16.86 kB / 0.5682 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3467, allocations: 0 / 0.5682 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3468, allocations: 34.64 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3468, allocations: 3.938 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009762/0.3477, allocations: 316.8 kB / 0.5686 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3478, allocations: 59.41 kB / 0.5686 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000886/0.3487, allocations: 0.8614 MB / 0.5695 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3487, allocations: 29.7 kB / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.3489, allocations: 216.1 kB / 0.5697 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3489, allocations: 35.73 kB / 0.5697 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.349, allocations: 17.72 kB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3491, allocations: 370.7 kB / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.3492, allocations: 23.92 kB / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.3493, allocations: 31.97 kB / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3494, allocations: 60.83 kB / 0.5702 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3494, allocations: 4 kB / 0.5702 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002374/0.3497, allocations: 129.6 kB / 0.5703 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3497, allocations: 11.98 kB / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3497, allocations: 80 / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3497, allocations: 0 / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3498, allocations: 19.92 kB / 0.5704 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3498, allocations: 7.984 kB / 0.5704 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.3499, allocations: 7.938 kB / 0.5704 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3499, allocations: 8 kB / 0.5704 GB, free: 12.21 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 (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.0001991/0.3501, allocations: 213.8 kB / 0.5706 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.3502, allocations: 47.67 kB / 0.5706 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.3505, allocations: 157.5 kB / 0.5708 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3505, allocations: 0 / 0.5708 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3505, allocations: 3.938 kB / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3505, allocations: 7.938 kB / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.3512, allocations: 482.2 kB / 0.5713 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3512, allocations: 0 / 0.5713 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.3512, allocations: 19.98 kB / 0.5713 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3513, allocations: 3.938 kB / 0.5713 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3513, allocations: 0 / 0.5713 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3513, allocations: 0 / 0.5713 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.3513, allocations: 12.02 kB / 0.5713 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3516, allocations: 240 kB / 0.5715 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.3516, allocations: 39.7 kB / 0.5716 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3516, allocations: 3.938 kB / 0.5716 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.3517, allocations: 4 kB / 0.5716 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3518, allocations: 15.98 kB / 0.5716 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3518, allocations: 0 / 0.5716 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000681/0.3525, allocations: 0.6511 MB / 0.5722 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3525, allocations: 0 / 0.5722 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3527, allocations: 35.92 kB / 0.5723 GB, free: 10.21 MB / 414.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.00169/0.3544, allocations: 446.4 kB / 0.5727 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.3547, allocations: 67.89 kB / 0.5728 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3547, allocations: 0 / 0.5728 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.3548, allocations: 28.14 kB / 0.5728 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3552, allocations: 40.5 kB / 0.5728 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.3565, allocations: 0.8792 MB / 0.5737 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.3569, allocations: 0.8182 MB / 0.5745 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.357, allocations: 19.44 kB / 0.5745 GB, free: 8.016 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.357, allocations: 0 / 0.5745 GB, free: 8.016 MB / 414.1 MB Notification: Performance of Templates: time 0.008255/0.3652, allocations: 3.96 MB / 0.5784 GB, free: 4.051 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.633868453092873]