Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.007898/0.007898, allocations: 109.6 kB / 21.98 MB, free: 5.184 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.002091/0.002091, allocations: 220.3 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.445/1.445, allocations: 230.5 MB / 258.9 MB, free: 7.996 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.2165/0.2165, allocations: 46.92 MB / 362.3 MB, free: 4.18 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30") [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.002355/0.002355, allocations: 83.86 kB / 0.4982 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3315, allocations: 66.07 MB / 0.5627 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003374/0.3349, allocations: 1.64 MB / 0.5644 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.336, allocations: 0.5616 MB / 0.5649 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.336, allocations: 7.938 kB / 0.5649 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3363, allocations: 75.75 kB / 0.565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3366, allocations: 103.6 kB / 0.5651 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3369, allocations: 115.7 kB / 0.5652 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3371, allocations: 87.73 kB / 0.5653 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.3372, allocations: 10.67 kB / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.3373, allocations: 47.83 kB / 0.5653 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3374, allocations: 63.8 kB / 0.5654 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3374, allocations: 7.938 kB / 0.5654 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.3375, allocations: 43.94 kB / 0.5654 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.3375, allocations: 19.92 kB / 0.5655 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.3376, allocations: 35.73 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3378, allocations: 99.3 kB / 0.5656 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3378, allocations: 7.938 kB / 0.5656 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3378, allocations: 0 / 0.5656 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3378, allocations: 0 / 0.5656 GB, free: 1.309 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005101/0.3383, allocations: 349.5 kB / 0.5659 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3383, allocations: 8.031 kB / 0.5659 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3384, allocations: 16.84 kB / 0.566 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3386, allocations: 143 kB / 0.5661 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.3386, allocations: 384 / 0.5661 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3386, allocations: 8.375 kB / 0.5661 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3387, allocations: 50.23 kB / 0.5661 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3387, allocations: 192 / 0.5661 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3388, allocations: 11.88 kB / 0.5662 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3388, allocations: 4 kB / 0.5662 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3389, allocations: 31.97 kB / 0.5662 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3393, allocations: 271.8 kB / 0.5664 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3394, allocations: 50.5 kB / 0.5665 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.3395, allocations: 24.92 kB / 0.5665 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3395, allocations: 8 kB / 0.5665 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3395, allocations: 30.56 kB / 0.5666 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3395, allocations: 0 / 0.5666 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008897/0.3404, allocations: 233.4 kB / 0.5668 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3404, allocations: 55.41 kB / 0.5668 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3407, allocations: 214.3 kB / 0.567 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3407, allocations: 25.7 kB / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.3408, allocations: 112 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.3408, allocations: 31.73 kB / 0.5672 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.3408, allocations: 17.72 kB / 0.5672 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.341, allocations: 326.6 kB / 0.5675 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3411, allocations: 44.03 kB / 0.5676 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.3412, allocations: 27.98 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3413, allocations: 72.75 kB / 0.5677 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3413, allocations: 0 / 0.5677 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002163/0.3415, allocations: 109.6 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3416, allocations: 6.188 kB / 0.5678 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3416, allocations: 3.938 kB / 0.5678 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3416, allocations: 8 kB / 0.5678 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3417, allocations: 15.98 kB / 0.5678 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3417, allocations: 3.938 kB / 0.5678 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.3417, allocations: 7.984 kB / 0.5678 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3418, allocations: 7.938 kB / 0.5678 GB, free: 14.84 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 (8): * Single equations (assignments): 8 * 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.0001051/0.3419, allocations: 129.8 kB / 0.5679 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.3419, allocations: 15.91 kB / 0.568 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.3422, allocations: 135.3 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3422, allocations: 4 kB / 0.5681 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3422, allocations: 0 / 0.5681 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3422, allocations: 0 / 0.5681 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.3428, allocations: 390.3 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3428, allocations: 0 / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.3429, allocations: 27.95 kB / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3429, allocations: 0 / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3429, allocations: 3.938 kB / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3429, allocations: 0 / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3429, allocations: 4 kB / 0.5685 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.3432, allocations: 216.2 kB / 0.5687 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.3432, allocations: 19.91 kB / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3432, allocations: 3.938 kB / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.3433, allocations: 7.984 kB / 0.5687 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3433, allocations: 7.938 kB / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3434, allocations: 0 / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3435, allocations: 172.2 kB / 0.5689 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3435, allocations: 0 / 0.5689 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3438, allocations: 20 kB / 0.5689 GB, free: 13.61 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 (8): * Single equations (assignments): 8 * 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.001668/0.3454, allocations: 451.3 kB / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3457, allocations: 71.95 kB / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3457, allocations: 7.938 kB / 0.5694 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.3458, allocations: 35.97 kB / 0.5695 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3461, allocations: 15.98 kB / 0.5695 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.3467, allocations: 300.3 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3471, allocations: 0.7158 MB / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3471, allocations: 15.44 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3471, allocations: 0 / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.003862/0.351, allocations: 1.824 MB / 0.5723 GB, free: 10.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.621040567057207]