Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001996/0.001996, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002375/0.002375, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.568/1.568, allocations: 230.3 MB / 258 MB, free: 8.223 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.2415/0.2415, allocations: 46.93 MB / 361.4 MB, free: 4.395 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") [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.004375/0.004375, allocations: 79.86 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4223, allocations: 66.04 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003407/0.4257, allocations: 1.668 MB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.4269, allocations: 0.5888 MB / 0.5639 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.4269, allocations: 4 kB / 0.5639 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.4276, allocations: 463.1 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005976/0.4282, allocations: 287.3 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.4287, allocations: 186.4 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.429, allocations: 179.6 kB / 0.5649 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4292, allocations: 14.8 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.4293, allocations: 111.7 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.4296, allocations: 251.5 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4296, allocations: 4 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.4297, allocations: 35.98 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.4298, allocations: 83.69 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.4299, allocations: 103 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.4303, allocations: 266.2 kB / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4303, allocations: 0 / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4303, allocations: 0 / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4303, allocations: 0 / 0.5658 GB, free: 316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000785/0.4311, allocations: 0.5854 MB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4311, allocations: 8.031 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.4312, allocations: 52.59 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.4315, allocations: 238.8 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4315, allocations: 384 / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.4315, allocations: 384 / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4317, allocations: 66.16 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4317, allocations: 192 / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4317, allocations: 7.938 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4317, allocations: 0 / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.4318, allocations: 31.97 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.4324, allocations: 367.8 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.4327, allocations: 42.5 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.4327, allocations: 24.94 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.4328, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4328, allocations: 30.56 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.4328, allocations: 3.984 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008279/0.4336, allocations: 244.6 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.4337, allocations: 55.41 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.4346, allocations: 0.8699 MB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.4347, allocations: 25.7 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.4349, allocations: 224 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.435, allocations: 23.84 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.435, allocations: 13.72 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4352, allocations: 362.7 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.4353, allocations: 23.97 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.4354, allocations: 28.17 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4355, allocations: 60.7 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4355, allocations: 0 / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002361/0.4358, allocations: 125.4 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4358, allocations: 4 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4358, allocations: 3.984 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4358, allocations: 0 / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.4359, allocations: 19.98 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4359, allocations: 0 / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.4359, allocations: 4 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4359, allocations: 0 / 0.5692 GB, free: 12.61 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 (5): * Single equations (assignments): 5 * 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.0002329/0.4362, allocations: 217.7 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.4362, allocations: 43.72 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.4366, allocations: 153.1 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4366, allocations: 0 / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4366, allocations: 0 / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4366, allocations: 0 / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.4372, allocations: 445.5 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4372, allocations: 0 / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.4373, allocations: 15.98 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4373, allocations: 0 / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4373, allocations: 8.188 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4373, allocations: 4 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4373, allocations: 7.938 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.4376, allocations: 211.2 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.4377, allocations: 35.72 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.4377, allocations: 3.938 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.4378, allocations: 8 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.4378, allocations: 11.92 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.4378, allocations: 4 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006812/0.4385, allocations: 0.6589 MB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4385, allocations: 0 / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.4388, allocations: 23.94 kB / 0.571 GB, free: 10.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 (5): * Single equations (assignments): 5 * 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.001506/0.4403, allocations: 392.2 kB / 0.5714 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4405, allocations: 55.97 kB / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4405, allocations: 0 / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.4406, allocations: 31.91 kB / 0.5714 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.441, allocations: 28.44 kB / 0.5715 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4425, allocations: 0.8143 MB / 0.5723 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.443, allocations: 0.826 MB / 0.5731 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.989e-05/0.4431, allocations: 15.98 kB / 0.5731 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.4431, allocations: 11.44 kB / 0.5731 GB, free: 8.605 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4431, allocations: 0 / 0.5731 GB, free: 8.605 MB / 414.1 MB Notification: Performance of Templates: time 0.005673/0.4488, allocations: 1.541 MB / 0.5746 GB, free: 7.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.608942713588476]