Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.005892/0.005892, allocations: 110 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.001687/0.001687, allocations: 218.2 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.422/1.422, allocations: 230.5 MB / 258.9 MB, free: 7.977 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.2217/0.2217, allocations: 46.93 MB / 362.3 MB, free: 4.16 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [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.002353/0.002353, allocations: 83.86 kB / 0.4982 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3318, allocations: 66.08 MB / 0.5628 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003023/0.3348, allocations: 1.64 MB / 0.5644 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3358, allocations: 0.5693 MB / 0.5649 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.3359, allocations: 0 / 0.5649 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.3362, allocations: 123.6 kB / 0.565 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.3365, allocations: 123.6 kB / 0.5651 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3368, allocations: 111.7 kB / 0.5653 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.337, allocations: 103.7 kB / 0.5654 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3371, allocations: 15.64 kB / 0.5654 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.3371, allocations: 47.89 kB / 0.5654 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3373, allocations: 95.69 kB / 0.5655 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3373, allocations: 4 kB / 0.5655 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.3374, allocations: 51.97 kB / 0.5656 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.3375, allocations: 27.86 kB / 0.5656 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.3375, allocations: 35.69 kB / 0.5656 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3377, allocations: 118.2 kB / 0.5657 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3377, allocations: 0 / 0.5657 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3377, allocations: 3.938 kB / 0.5657 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3377, allocations: 11.94 kB / 0.5657 GB, free: 1.121 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.0005139/0.3382, allocations: 361.4 kB / 0.5661 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3383, allocations: 12.03 kB / 0.5661 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.3383, allocations: 16.83 kB / 0.5661 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3385, allocations: 166.3 kB / 0.5663 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3385, allocations: 384 / 0.5663 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.3386, allocations: 4.375 kB / 0.5663 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3387, allocations: 54.23 kB / 0.5663 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3387, allocations: 4.188 kB / 0.5663 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3387, allocations: 7.938 kB / 0.5663 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3387, allocations: 0 / 0.5663 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.541e-05/0.3388, allocations: 31.95 kB / 0.5664 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.3393, allocations: 279.8 kB / 0.5666 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3394, allocations: 46.55 kB / 0.5667 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.3395, allocations: 24.94 kB / 0.5667 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.3395, allocations: 0 / 0.5667 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.3396, allocations: 30.56 kB / 0.5667 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3396, allocations: 0 / 0.5667 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009292/0.3405, allocations: 257.1 kB / 0.567 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3405, allocations: 55.34 kB / 0.567 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.3408, allocations: 275.8 kB / 0.5673 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3408, allocations: 25.7 kB / 0.5673 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3409, allocations: 116.1 kB / 0.5674 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.341, allocations: 31.81 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.341, allocations: 21.7 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3412, allocations: 338.8 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.3412, allocations: 27.98 kB / 0.5678 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.3413, allocations: 27.97 kB / 0.5679 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3415, allocations: 68.83 kB / 0.5679 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3415, allocations: 0 / 0.5679 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002391/0.3417, allocations: 125.5 kB / 0.5681 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3417, allocations: 7.938 kB / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3417, allocations: 0 / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3418, allocations: 0 / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3419, allocations: 19.98 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3419, allocations: 0 / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.3419, allocations: 4 kB / 0.5681 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3419, allocations: 0 / 0.5681 GB, free: 14.53 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.0001711/0.3421, allocations: 139.1 kB / 0.5682 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3421, allocations: 19.91 kB / 0.5682 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.3424, allocations: 143.3 kB / 0.5684 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3424, allocations: 4 kB / 0.5684 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3424, allocations: 3.938 kB / 0.5684 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3424, allocations: 0 / 0.5684 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.343, allocations: 410.3 kB / 0.5688 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.343, allocations: 0 / 0.5688 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.3431, allocations: 19.98 kB / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3431, allocations: 0 / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3431, allocations: 3.938 kB / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3431, allocations: 0 / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3431, allocations: 4 kB / 0.5688 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3434, allocations: 220.2 kB / 0.569 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.3434, allocations: 15.91 kB / 0.569 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3435, allocations: 7.922 kB / 0.569 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.3435, allocations: 4 kB / 0.569 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.3436, allocations: 11.92 kB / 0.569 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3436, allocations: 4 kB / 0.569 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.3438, allocations: 212.1 kB / 0.5692 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 0 / 0.5692 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.344, allocations: 27.92 kB / 0.5693 GB, free: 13.22 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.001664/0.3457, allocations: 446.9 kB / 0.5697 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3459, allocations: 79.89 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3459, allocations: 0 / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.346, allocations: 35.91 kB / 0.5698 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3464, allocations: 23.72 kB / 0.5698 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.347, allocations: 354 kB / 0.5702 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3474, allocations: 0.7236 MB / 0.5709 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.3474, allocations: 15.44 kB / 0.5709 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3474, allocations: 0 / 0.5709 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004001/0.3514, allocations: 1.958 MB / 0.5728 GB, free: 9.695 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.771885560126975]