Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001904/0.001904, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002405/0.002405, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.633/1.633, allocations: 230.3 MB / 258 MB, free: 8.242 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.2458/0.2458, allocations: 46.94 MB / 361.4 MB, free: 4.512 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5") [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: 83.86 kB / 0.4972 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4037, allocations: 66.04 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00403/0.4078, allocations: 1.675 MB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.4091, allocations: 0.5927 MB / 0.5639 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.4092, allocations: 0 / 0.5639 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.4099, allocations: 463.1 kB / 0.5643 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005978/0.4105, allocations: 291.3 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.411, allocations: 178.9 kB / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.4113, allocations: 171.6 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.4115, allocations: 22.8 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.4117, allocations: 119.6 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.412, allocations: 247.5 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.412, allocations: 0 / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.4122, allocations: 35.98 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.4123, allocations: 83.69 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.4124, allocations: 107 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.4128, allocations: 266.3 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4128, allocations: 0 / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4128, allocations: 0 / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4129, allocations: 3.938 kB / 0.5658 GB, free: 340 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.000905/0.4138, allocations: 0.5798 MB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4138, allocations: 12.03 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.4139, allocations: 44.61 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.4142, allocations: 238.8 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4142, allocations: 8.312 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.4143, allocations: 4.375 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4145, allocations: 62.17 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4145, allocations: 192 / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.4145, allocations: 3.938 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4145, allocations: 0 / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.4146, allocations: 35.95 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.4152, allocations: 359.8 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.4155, allocations: 54.48 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.4155, allocations: 12.86 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.4155, allocations: 4 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4156, allocations: 34.64 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4156, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007048/0.4163, allocations: 240.7 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.4163, allocations: 55.39 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.4174, allocations: 0.8738 MB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4174, allocations: 25.7 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.4176, allocations: 220 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.4177, allocations: 19.86 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.4177, allocations: 21.7 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.418, allocations: 366.7 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.418, allocations: 19.98 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.4181, allocations: 28.16 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.4183, allocations: 60.77 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4183, allocations: 0 / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000287/0.4186, allocations: 117.4 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4186, allocations: 11.98 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4186, allocations: 0 / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4187, allocations: 0 / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.4187, allocations: 12 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.4187, allocations: 4 kB / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.4188, allocations: 3.984 kB / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4188, allocations: 4 kB / 0.5692 GB, free: 12.64 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.0002437/0.4191, allocations: 225.6 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.4191, allocations: 43.72 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.4195, allocations: 141.2 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4195, allocations: 0 / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4195, allocations: 0 / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4195, allocations: 4 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.4202, allocations: 445.5 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4202, allocations: 4 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.4202, allocations: 12 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4202, allocations: 4.219 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4202, allocations: 4.172 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4202, allocations: 4 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4203, allocations: 3.938 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.4206, allocations: 219.2 kB / 0.5703 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.4206, allocations: 35.7 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.4207, allocations: 8 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.4207, allocations: 0 / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.4208, allocations: 15.86 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.4208, allocations: 0 / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007299/0.4215, allocations: 0.655 MB / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4215, allocations: 0 / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.4218, allocations: 27.92 kB / 0.571 GB, free: 10.73 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.001555/0.4233, allocations: 407.3 kB / 0.5714 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.4236, allocations: 43.97 kB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4236, allocations: 0 / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.4237, allocations: 31.92 kB / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.4242, allocations: 22.3 kB / 0.5715 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.4255, allocations: 0.8182 MB / 0.5723 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.4262, allocations: 0.826 MB / 0.5731 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.303e-05/0.4262, allocations: 15.98 kB / 0.5731 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.4263, allocations: 11.44 kB / 0.5731 GB, free: 8.637 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4263, allocations: 0 / 0.5731 GB, free: 8.637 MB / 414.1 MB Notification: Performance of Templates: time 0.005874/0.4321, allocations: 1.539 MB / 0.5746 GB, free: 7.102 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.518382323905826]