Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.007432/0.007432, allocations: 106.8 kB / 21.98 MB, free: 5.223 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.001901/0.001901, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.432/1.432, 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.2326/0.2326, allocations: 46.93 MB / 362.3 MB, free: 4.215 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.003196/0.003196, allocations: 75.88 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3334, allocations: 66.08 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003175/0.3366, allocations: 1.671 MB / 0.5644 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3377, allocations: 0.5577 MB / 0.5649 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.3377, allocations: 4 kB / 0.5649 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.338, allocations: 91.69 kB / 0.565 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.3383, allocations: 115.6 kB / 0.5651 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.3386, allocations: 99.73 kB / 0.5652 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3387, allocations: 99.73 kB / 0.5653 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3389, allocations: 23.64 kB / 0.5653 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.3389, allocations: 47.78 kB / 0.5654 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3391, allocations: 67.73 kB / 0.5655 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3391, allocations: 4 kB / 0.5655 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.3392, allocations: 51.97 kB / 0.5655 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.3392, allocations: 27.92 kB / 0.5655 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.3393, allocations: 39.69 kB / 0.5656 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.3395, allocations: 130.1 kB / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3395, allocations: 0 / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3395, allocations: 0 / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3395, allocations: 0 / 0.5657 GB, free: 1.207 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005274/0.34, allocations: 361.4 kB / 0.566 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.3401, allocations: 8.031 kB / 0.566 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3401, allocations: 20.84 kB / 0.5661 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3403, allocations: 150.2 kB / 0.5662 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3403, allocations: 4.375 kB / 0.5662 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.3404, allocations: 8.375 kB / 0.5662 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3405, allocations: 78.08 kB / 0.5663 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3406, allocations: 4.141 kB / 0.5663 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3406, allocations: 7.938 kB / 0.5663 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3406, allocations: 0 / 0.5663 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3407, allocations: 39.97 kB / 0.5663 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.3411, allocations: 303.8 kB / 0.5666 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3413, allocations: 66.48 kB / 0.5667 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.3413, allocations: 20.86 kB / 0.5667 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3413, allocations: 3.938 kB / 0.5667 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3414, allocations: 38.7 kB / 0.5668 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3414, allocations: 4 kB / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.3424, allocations: 305.1 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3425, allocations: 55.41 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.3427, allocations: 247.5 kB / 0.5673 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3428, allocations: 29.7 kB / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.3428, allocations: 116 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3429, allocations: 43.64 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.3429, allocations: 25.72 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3431, allocations: 322.8 kB / 0.5679 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/0.3432, allocations: 39.97 kB / 0.5679 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.3433, allocations: 39.48 kB / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.3435, allocations: 84.83 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3435, allocations: 0 / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002716/0.3437, allocations: 149.5 kB / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3437, allocations: 4 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3438, allocations: 0.7031 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3438, allocations: 0 / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3439, allocations: 31.98 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3439, allocations: 3.938 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.3439, allocations: 4 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3439, allocations: 4.109 kB / 0.5682 GB, free: 14.44 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 (13): * Single equations (assignments): 13 * 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.0001233/0.3441, allocations: 141.8 kB / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3441, allocations: 15.91 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3445, allocations: 167 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3445, allocations: 4 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3445, allocations: 3.938 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3445, allocations: 0 / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.3452, allocations: 446.2 kB / 0.5689 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3452, allocations: 0 / 0.5689 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.3452, allocations: 27.92 kB / 0.569 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3453, allocations: 8.031 kB / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3453, allocations: 4 kB / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3453, allocations: 4 kB / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3453, allocations: 4 kB / 0.569 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.3456, allocations: 239.3 kB / 0.5692 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.3456, allocations: 15.91 kB / 0.5692 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3456, allocations: 8 kB / 0.5692 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.3457, allocations: 7.984 kB / 0.5693 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3458, allocations: 19.86 kB / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.3458, allocations: 4 kB / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3459, allocations: 189.1 kB / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3459, allocations: 0 / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3462, allocations: 27.94 kB / 0.5695 GB, free: 13.05 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 (13): * Single equations (assignments): 13 * 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.001651/0.3479, allocations: 444.2 kB / 0.5699 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3481, allocations: 91.89 kB / 0.57 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3481, allocations: 3.938 kB / 0.57 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3483, allocations: 59.91 kB / 0.5701 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3486, allocations: 26.98 kB / 0.5701 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.3493, allocations: 341.6 kB / 0.5704 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.3497, allocations: 0.7236 MB / 0.5711 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.3497, allocations: 19.42 kB / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3497, allocations: 0 / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Templates: time 0.004342/0.354, allocations: 2.077 MB / 0.5732 GB, free: 9.375 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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: 7.650020021945238]