Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.005364/0.005364, allocations: 103.2 kB / 21.97 MB, free: 5.211 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.001416/0.001416, allocations: 220.3 kB / 25.29 MB, free: 3.215 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.408/1.408, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.2265/0.2265, allocations: 46.92 MB / 362.3 MB, free: 4.227 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") [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.002314/0.002314, allocations: 83.8 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 66.08 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003338/0.3471, allocations: 1.632 MB / 0.5643 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3482, allocations: 0.5411 MB / 0.5649 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.3483, allocations: 0 / 0.5649 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.3489, allocations: 459.1 kB / 0.5653 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.3494, allocations: 291.3 kB / 0.5656 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.3497, allocations: 127.6 kB / 0.5657 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3499, allocations: 159.6 kB / 0.5659 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.35, allocations: 12.17 kB / 0.5659 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3502, allocations: 111.7 kB / 0.566 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.3504, allocations: 239.6 kB / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3505, allocations: 4 kB / 0.5662 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.3505, allocations: 27.92 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.3506, allocations: 83.62 kB / 0.5663 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.3507, allocations: 99.05 kB / 0.5664 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.3511, allocations: 253 kB / 0.5666 GB, free: 264 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3511, allocations: 4 kB / 0.5667 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3511, allocations: 4 kB / 0.5667 GB, free: 256 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3511, allocations: 0 / 0.5667 GB, free: 256 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008245/0.3519, allocations: 0.5659 MB / 0.5672 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.352, allocations: 12.03 kB / 0.5672 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.352, allocations: 40.66 kB / 0.5673 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3523, allocations: 246.8 kB / 0.5675 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3523, allocations: 4.375 kB / 0.5675 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3524, allocations: 384 / 0.5675 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3525, allocations: 51.23 kB / 0.5675 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3525, allocations: 3.938 kB / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3525, allocations: 3.984 kB / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3525, allocations: 0 / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.147e-05/0.3526, allocations: 23.92 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.3532, allocations: 355.8 kB / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.3533, allocations: 34.58 kB / 0.568 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3533, allocations: 12.91 kB / 0.568 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3533, allocations: 0 / 0.568 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3534, allocations: 34.56 kB / 0.568 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3534, allocations: 0 / 0.568 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002836/0.3536, allocations: 105.3 kB / 0.5681 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3537, allocations: 55.53 kB / 0.5681 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/0.3546, allocations: 0.8653 MB / 0.569 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3546, allocations: 25.7 kB / 0.569 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.3548, allocations: 216.1 kB / 0.5692 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3549, allocations: 11.88 kB / 0.5692 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.3549, allocations: 17.72 kB / 0.5693 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3551, allocations: 362.7 kB / 0.5696 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.3551, allocations: 12 kB / 0.5696 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.3551, allocations: 11.98 kB / 0.5696 GB, free: 13.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.937e-05/0.3552, allocations: 28.78 kB / 0.5696 GB, free: 13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3552, allocations: 0 / 0.5696 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001443/0.3554, allocations: 89.41 kB / 0.5697 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3554, allocations: 4 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3554, allocations: 4 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3554, allocations: 96 / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.3555, allocations: 15.98 kB / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3555, allocations: 0 / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.3555, allocations: 0 / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3555, allocations: 3.938 kB / 0.5698 GB, free: 12.88 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 (2): * Single equations (assignments): 2 * 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.0002004/0.3557, allocations: 209.7 kB / 0.57 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.3558, allocations: 47.7 kB / 0.57 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.356, allocations: 104.7 kB / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.356, allocations: 8.031 kB / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.356, allocations: 0 / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.356, allocations: 0 / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.3563, allocations: 252.6 kB / 0.5704 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3563, allocations: 0 / 0.5704 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.3564, allocations: 8 kB / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3564, allocations: 4 kB / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3564, allocations: 0 / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3564, allocations: 3.984 kB / 0.5704 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3564, allocations: 0 / 0.5704 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.3566, allocations: 195.1 kB / 0.5706 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3566, allocations: 31.77 kB / 0.5706 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3566, allocations: 3.938 kB / 0.5706 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.3567, allocations: 3.984 kB / 0.5706 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.3567, allocations: 0 / 0.5706 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.3567, allocations: 4 kB / 0.5706 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006556/0.3574, allocations: 0.6551 MB / 0.5712 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3574, allocations: 0 / 0.5712 GB, free: 11.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000248/0.3576, allocations: 23.94 kB / 0.5713 GB, free: 11.27 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 (2): * Single equations (assignments): 2 * 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.001339/0.359, allocations: 347.5 kB / 0.5716 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.3591, allocations: 27.98 kB / 0.5716 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3591, allocations: 0 / 0.5716 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.3592, allocations: 15.92 kB / 0.5716 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3596, allocations: 26.23 kB / 0.5717 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3608, allocations: 0.8119 MB / 0.5725 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.3613, allocations: 0.8182 MB / 0.5733 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.3614, allocations: 11.44 kB / 0.5733 GB, free: 9.266 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3614, allocations: 0 / 0.5733 GB, free: 9.266 MB / 414.1 MB Notification: Performance of Templates: time 0.007296/0.3687, allocations: 3.47 MB / 0.5767 GB, free: 5.789 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.697773128049448]