Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.00134/0.00134, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001447/0.001447, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.486/1.486, allocations: 230.2 MB / 257.8 MB, free: 8.484 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.2446/0.2446, allocations: 46.9 MB / 361.1 MB, free: 4.602 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,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.Test2") [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.002365/0.002365, allocations: 75.88 kB / 0.4968 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3831, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003394/0.3865, allocations: 1.694 MB / 0.5629 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3877, allocations: 0.5693 MB / 0.5634 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.3877, allocations: 4 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.3884, allocations: 459.1 kB / 0.5639 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.3889, allocations: 291.3 kB / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.3893, allocations: 138.9 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.3896, allocations: 171.6 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3897, allocations: 18.8 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3898, allocations: 115.7 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.3901, allocations: 247.5 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3901, allocations: 7.938 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3903, allocations: 51.97 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.3904, allocations: 83.69 kB / 0.565 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.3905, allocations: 103 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.3909, allocations: 274.5 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3909, allocations: 4 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.3909, allocations: 0 / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3909, allocations: 0 / 0.5653 GB, free: 0.8125 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008911/0.3918, allocations: 0.6684 MB / 0.566 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3918, allocations: 8.031 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.3919, allocations: 44.66 kB / 0.566 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.3923, allocations: 300.6 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3923, allocations: 4.375 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3923, allocations: 4.375 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3925, allocations: 62.17 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.3925, allocations: 192 / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3925, allocations: 7.938 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3925, allocations: 4 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3927, allocations: 27.97 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.3933, allocations: 400.6 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3934, allocations: 42.56 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.3935, allocations: 20.8 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.3935, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.3935, allocations: 34.64 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3935, allocations: 4 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00108/0.3946, allocations: 317 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.3947, allocations: 59.34 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.3956, allocations: 0.8614 MB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3956, allocations: 29.7 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3958, allocations: 216.1 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3959, allocations: 31.73 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.3959, allocations: 25.72 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3961, allocations: 366.7 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.3962, allocations: 19.98 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.3963, allocations: 27.98 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3964, allocations: 60.83 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3964, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002803/0.3967, allocations: 141.4 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3967, allocations: 8 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3968, allocations: 3.938 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3968, allocations: 3.938 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3969, allocations: 20.03 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3969, allocations: 0 / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.397, allocations: 11.92 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.397, allocations: 0 / 0.569 GB, free: 12.79 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.0002603/0.3972, allocations: 217.8 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.3973, allocations: 47.67 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.3977, allocations: 165.7 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3977, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3977, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3977, allocations: 3.938 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007425/0.3985, allocations: 0.5031 MB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3985, allocations: 0 / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.3985, allocations: 19.98 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3985, allocations: 3.938 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3985, allocations: 0 / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3985, allocations: 11.94 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3986, allocations: 0 / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.3989, allocations: 244 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.399, allocations: 112.8 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.399, allocations: 3.938 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.3991, allocations: 4 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.3991, allocations: 11.98 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3991, allocations: 8 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.3998, allocations: 0.6511 MB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.4001, allocations: 28 kB / 0.571 GB, free: 10.65 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.001756/0.4018, allocations: 454 kB / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.4021, allocations: 63.89 kB / 0.5715 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4021, allocations: 0 / 0.5715 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4022, allocations: 35.91 kB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.4026, allocations: 36.42 kB / 0.5716 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.404, allocations: 0.8385 MB / 0.5724 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.4045, allocations: 0.8221 MB / 0.5732 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.995e-05/0.4046, allocations: 16.72 kB / 0.5732 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.4046, allocations: 23.44 kB / 0.5732 GB, free: 8.488 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4046, allocations: 0 / 0.5732 GB, free: 8.488 MB / 414.1 MB Notification: Performance of Templates: time 0.005932/0.4105, allocations: 1.753 MB / 0.5749 GB, free: 6.734 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.1697928830981255]