Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001362/0.001362, allocations: 106.5 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.001551/0.001551, allocations: 213.2 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.5/1.5, allocations: 230.3 MB / 258 MB, free: 8.234 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.2358/0.2358, allocations: 46.94 MB / 361.4 MB, free: 4.395 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.002511/0.002511, allocations: 79.86 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3419, allocations: 66.04 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.00354/0.3455, allocations: 1.663 MB / 0.5633 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3467, allocations: 0.5732 MB / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.3468, allocations: 0 / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.3474, allocations: 451.1 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.348, allocations: 303.3 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.3486, allocations: 131.1 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.349, allocations: 171.6 kB / 0.5649 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3492, allocations: 14.75 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.3494, allocations: 111.8 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.3498, allocations: 251.5 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3499, allocations: 4 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.35, allocations: 43.91 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.3502, allocations: 83.69 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3504, allocations: 99 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.3509, allocations: 254.4 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.3509, allocations: 0 / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3509, allocations: 0 / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3509, allocations: 0 / 0.5657 GB, free: 428 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.001084/0.352, allocations: 0.5893 MB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3521, allocations: 8.031 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3522, allocations: 44.66 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.3526, allocations: 238.8 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3526, allocations: 4.375 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3526, allocations: 4.375 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3528, allocations: 46.25 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3528, allocations: 192 / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3528, allocations: 7.938 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3528, allocations: 4 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.353, allocations: 27.97 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.3536, allocations: 367.6 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3538, allocations: 42.5 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.3539, allocations: 24.92 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.3539, allocations: 4 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3539, allocations: 34.5 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3539, allocations: 0 / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006812/0.3546, allocations: 224.7 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3546, allocations: 55.34 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.3556, allocations: 0.8692 MB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3556, allocations: 25.7 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.3558, allocations: 220.1 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.3558, allocations: 23.83 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3559, allocations: 13.72 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3561, allocations: 366.7 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.3561, allocations: 19.98 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.3562, allocations: 24.17 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3563, allocations: 44.84 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3563, allocations: 0 / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000229/0.3565, allocations: 125.3 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3566, allocations: 8 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3566, allocations: 3.938 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3566, allocations: 0 / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.3566, allocations: 15.98 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3567, allocations: 0 / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.3567, allocations: 4 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3567, allocations: 4 kB / 0.5691 GB, free: 12.77 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.0002099/0.3569, allocations: 217.7 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.357, allocations: 39.72 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.3573, allocations: 141.1 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3573, allocations: 0 / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3573, allocations: 0 / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3573, allocations: 3.984 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.3579, allocations: 429.5 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3579, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.3579, allocations: 12 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3579, allocations: 3.984 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.358, allocations: 7.938 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.358, allocations: 192 / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.358, allocations: 11.88 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3583, allocations: 207.2 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.3583, allocations: 39.67 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3583, allocations: 3.984 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.3584, allocations: 4 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.3585, allocations: 15.92 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3585, allocations: 4 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006652/0.3591, allocations: 0.6472 MB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3591, allocations: 0 / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3594, allocations: 27.94 kB / 0.5708 GB, free: 10.89 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.001446/0.3608, allocations: 399.7 kB / 0.5712 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.3611, allocations: 51.91 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3611, allocations: 0 / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.3611, allocations: 27.97 kB / 0.5713 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.3616, allocations: 22.25 kB / 0.5713 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3629, allocations: 0.8061 MB / 0.5721 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.3634, allocations: 0.8259 MB / 0.5729 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.157e-05/0.3635, allocations: 19.77 kB / 0.5729 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.3635, allocations: 15.38 kB / 0.5729 GB, free: 8.816 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3635, allocations: 0 / 0.5729 GB, free: 8.816 MB / 414.1 MB Notification: Performance of Templates: time 0.005696/0.3692, allocations: 1.508 MB / 0.5744 GB, free: 7.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.149598208256066]