Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.001635/0.001635, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.00212/0.00212, allocations: 203.9 kB / 25.12 MB, free: 3.59 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.501/1.501, allocations: 230.4 MB / 258.7 MB, free: 8.082 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.236/0.236, allocations: 46.94 MB / 362 MB, free: 4.25 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.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") [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.002364/0.002364, allocations: 79.86 kB / 0.4979 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3312, allocations: 66.07 MB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003337/0.3346, allocations: 1.753 MB / 0.5641 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3364, allocations: 1.045 MB / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.3365, allocations: 0 / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.3368, allocations: 55.7 kB / 0.5652 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.3371, allocations: 103.5 kB / 0.5653 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3373, allocations: 79.67 kB / 0.5653 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3375, allocations: 103.7 kB / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.3376, allocations: 8 kB / 0.5654 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.3377, allocations: 47.72 kB / 0.5655 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.3378, allocations: 35.84 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3378, allocations: 4 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3379, allocations: 43.98 kB / 0.5656 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.338, allocations: 19.92 kB / 0.5656 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.338, allocations: 51.59 kB / 0.5656 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3383, allocations: 130 kB / 0.5658 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3383, allocations: 0 / 0.5658 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3383, allocations: 4 kB / 0.5658 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3383, allocations: 0 / 0.5658 GB, free: 0.7695 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005663/0.3388, allocations: 357.4 kB / 0.5661 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3389, allocations: 12.03 kB / 0.5661 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.3389, allocations: 12.89 kB / 0.5661 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3392, allocations: 163.1 kB / 0.5663 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3392, allocations: 8.312 kB / 0.5663 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3393, allocations: 384 / 0.5663 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3394, allocations: 57.98 kB / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3394, allocations: 0 / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3394, allocations: 7.938 kB / 0.5664 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3394, allocations: 0 / 0.5664 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.3395, allocations: 15.98 kB / 0.5664 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3399, allocations: 271.9 kB / 0.5666 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.3401, allocations: 58.61 kB / 0.5667 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.3402, allocations: 24.84 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3402, allocations: 0 / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3404, allocations: 67.39 kB / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3404, allocations: 0 / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005749/0.341, allocations: 181.3 kB / 0.567 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.341, allocations: 55.41 kB / 0.567 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3413, allocations: 235 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.3413, allocations: 25.7 kB / 0.5673 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.3414, allocations: 120.1 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3414, allocations: 27.84 kB / 0.5674 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.3415, allocations: 25.7 kB / 0.5674 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3416, allocations: 330.8 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.3417, allocations: 19.92 kB / 0.5678 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.3418, allocations: 41.64 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.3419, allocations: 53.72 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3419, allocations: 4 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002056/0.3421, allocations: 105.5 kB / 0.5679 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3421, allocations: 4 kB / 0.568 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3421, allocations: 4 kB / 0.568 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3421, allocations: 0 / 0.568 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.3422, allocations: 15.98 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3422, allocations: 0 / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.3423, allocations: 8 kB / 0.568 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3423, allocations: 7.938 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001287/0.3424, allocations: 141.8 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3424, allocations: 11.91 kB / 0.5681 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.3427, allocations: 123.1 kB / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3427, allocations: 0 / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3427, allocations: 0 / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3427, allocations: 0 / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.3432, allocations: 374.3 kB / 0.5686 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3432, allocations: 12.02 kB / 0.5686 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.3432, allocations: 7.938 kB / 0.5686 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3432, allocations: 4 kB / 0.5686 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3432, allocations: 4 kB / 0.5686 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3432, allocations: 4.312 kB / 0.5686 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3432, allocations: 4 kB / 0.5686 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3435, allocations: 208.3 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.3435, allocations: 19.89 kB / 0.5689 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3435, allocations: 4 kB / 0.5689 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.3436, allocations: 3.938 kB / 0.5689 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.3437, allocations: 7.984 kB / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3437, allocations: 8 kB / 0.5689 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.3438, allocations: 175.2 kB / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3438, allocations: 0 / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3441, allocations: 20 kB / 0.5691 GB, free: 13.09 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001693/0.3458, allocations: 462.9 kB / 0.5695 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.346, allocations: 55.91 kB / 0.5696 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.346, allocations: 4.062 kB / 0.5696 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.3461, allocations: 23.98 kB / 0.5696 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3464, allocations: 33.36 kB / 0.5696 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.347, allocations: 267.4 kB / 0.5699 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3473, allocations: 0.708 MB / 0.5706 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.3474, allocations: 28.95 kB / 0.5706 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.3474, allocations: 19.44 kB / 0.5706 GB, free: 11.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3474, allocations: 0 / 0.5706 GB, free: 11.61 MB / 414.1 MB Notification: Performance of Templates: time 0.005139/0.3525, allocations: 1.789 MB / 0.5724 GB, free: 9.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.170153412036598]