Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.006532/0.006532, allocations: 109.9 kB / 21.98 MB, free: 5.18 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.001746/0.001746, allocations: 220.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.412/1.412, allocations: 230.5 MB / 258.9 MB, free: 7.992 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.2327/0.2327, allocations: 46.93 MB / 362.3 MB, free: 4.184 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9") [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.00258/0.00258, allocations: 79.88 kB / 0.4982 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3423, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003203/0.3455, allocations: 1.632 MB / 0.5643 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3466, allocations: 0.5527 MB / 0.5649 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.3467, allocations: 0 / 0.5649 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.3472, allocations: 447.2 kB / 0.5653 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004606/0.3477, allocations: 303.2 kB / 0.5656 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.348, allocations: 131.2 kB / 0.5657 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3483, allocations: 171.6 kB / 0.5659 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.3484, allocations: 8 kB / 0.5659 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3485, allocations: 115.8 kB / 0.566 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.3488, allocations: 247.5 kB / 0.5662 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3488, allocations: 0 / 0.5662 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.735e-05/0.3489, allocations: 23.98 kB / 0.5663 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.349, allocations: 83.69 kB / 0.5663 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.3491, allocations: 99 kB / 0.5664 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.3494, allocations: 261 kB / 0.5667 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3494, allocations: 4 kB / 0.5667 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3494, allocations: 0 / 0.5667 GB, free: 196 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3494, allocations: 3.938 kB / 0.5667 GB, free: 192 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.0008008/0.3502, allocations: 0.5739 MB / 0.5673 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3502, allocations: 12.03 kB / 0.5673 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.3503, allocations: 40.66 kB / 0.5673 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3506, allocations: 246.8 kB / 0.5675 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.3506, allocations: 384 / 0.5675 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3506, allocations: 4.375 kB / 0.5675 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3508, allocations: 55.22 kB / 0.5676 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3508, allocations: 192 / 0.5676 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3508, allocations: 7.938 kB / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3508, allocations: 0 / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3509, allocations: 35.91 kB / 0.5676 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3514, allocations: 347.9 kB / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.3515, allocations: 46.48 kB / 0.568 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.3516, allocations: 16.94 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3516, allocations: 4 kB / 0.568 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3516, allocations: 30.56 kB / 0.5681 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3516, allocations: 0 / 0.5681 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003322/0.352, allocations: 129.3 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.352, allocations: 51.41 kB / 0.5682 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009094/0.3529, allocations: 0.8574 MB / 0.5691 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.353, allocations: 29.7 kB / 0.5691 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3531, allocations: 212 kB / 0.5693 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3531, allocations: 7.938 kB / 0.5693 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.3532, allocations: 17.72 kB / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3534, allocations: 358.8 kB / 0.5697 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.3534, allocations: 23.92 kB / 0.5697 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.3535, allocations: 15.98 kB / 0.5697 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3536, allocations: 41.05 kB / 0.5697 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3536, allocations: 3.938 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002108/0.3538, allocations: 117.3 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3538, allocations: 7.938 kB / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3538, allocations: 0 / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3539, allocations: 0 / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.3539, allocations: 8 kB / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3539, allocations: 0 / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.354, allocations: 15.98 kB / 0.5699 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.354, allocations: 0 / 0.5699 GB, free: 12.71 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 (3): * Single equations (assignments): 3 * 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.0002064/0.3542, allocations: 209.7 kB / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.3543, allocations: 47.72 kB / 0.5701 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.3545, allocations: 125 kB / 0.5703 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3545, allocations: 4 kB / 0.5703 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3545, allocations: 0 / 0.5703 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3546, allocations: 0 / 0.5703 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3549, allocations: 264.6 kB / 0.5705 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3549, allocations: 0 / 0.5705 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.3549, allocations: 7.984 kB / 0.5705 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3549, allocations: 8 kB / 0.5705 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.3549, allocations: 0 / 0.5705 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3549, allocations: 0 / 0.5705 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3549, allocations: 0 / 0.5705 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3552, allocations: 207.1 kB / 0.5707 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.3552, allocations: 35.72 kB / 0.5708 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3552, allocations: 0 / 0.5708 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.3553, allocations: 15.98 kB / 0.5708 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.3553, allocations: 0 / 0.5708 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3553, allocations: 0 / 0.5708 GB, free: 11.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006787/0.356, allocations: 0.6472 MB / 0.5714 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.356, allocations: 0 / 0.5714 GB, free: 11.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3563, allocations: 23.92 kB / 0.5714 GB, free: 11.05 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 (3): * Single equations (assignments): 3 * 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.00126/0.3575, allocations: 345.7 kB / 0.5718 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3577, allocations: 39.94 kB / 0.5718 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3577, allocations: 0 / 0.5718 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.3578, allocations: 19.92 kB / 0.5718 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.3582, allocations: 40.38 kB / 0.5719 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3594, allocations: 0.8235 MB / 0.5727 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.3599, allocations: 0.8143 MB / 0.5735 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.3599, allocations: 15.44 kB / 0.5735 GB, free: 9.012 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3599, allocations: 0 / 0.5735 GB, free: 9.012 MB / 414.1 MB Notification: Performance of Templates: time 0.006936/0.3669, allocations: 3.509 MB / 0.5769 GB, free: 5.496 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.623789367033169]