Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.001745/0.001745, allocations: 110.3 kB / 21.17 MB, free: 0.7812 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.00225/0.00225, allocations: 209.4 kB / 24.46 MB, free: 4.359 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.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2273/0.2273, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") [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.002529/0.002529, allocations: 84.05 kB / 0.4968 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.307, allocations: 65.98 MB / 0.5613 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003109/0.3101, allocations: 1.698 MB / 0.5629 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.312, allocations: 1.033 MB / 0.5639 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.312, allocations: 0 / 0.5639 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3123, allocations: 59.73 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.3126, allocations: 107.6 kB / 0.5641 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.3128, allocations: 71.67 kB / 0.5642 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.313, allocations: 107.7 kB / 0.5643 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.3131, allocations: 4.234 kB / 0.5643 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3132, allocations: 51.78 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3133, allocations: 47.81 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3133, allocations: 4 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.3134, allocations: 35.92 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.3134, allocations: 23.86 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.3135, allocations: 31.8 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3137, allocations: 106.2 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3137, allocations: 0 / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3137, allocations: 4 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3137, allocations: 0 / 0.5646 GB, free: 1.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006478/0.3143, allocations: 418.7 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3143, allocations: 8.031 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.3144, allocations: 16.84 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3147, allocations: 208.8 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3147, allocations: 384 / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3147, allocations: 8.359 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3149, allocations: 46 kB / 0.5652 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3149, allocations: 0 / 0.5652 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3149, allocations: 8 kB / 0.5652 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3149, allocations: 4 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.453e-05/0.315, allocations: 11.98 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.3152, allocations: 185.6 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3154, allocations: 54.55 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.3154, allocations: 24.83 kB / 0.5655 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3154, allocations: 4 kB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.3156, allocations: 67.27 kB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3156, allocations: 0 / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002921/0.3159, allocations: 97.56 kB / 0.5657 GB, free: 288 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3159, allocations: 51.41 kB / 0.5657 GB, free: 224 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3161, allocations: 194.4 kB / 0.5659 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.3162, allocations: 33.7 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.3162, allocations: 100.1 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3163, allocations: 15.89 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.3163, allocations: 21.72 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3164, allocations: 322.8 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.3165, allocations: 15.92 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.3166, allocations: 37.69 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3167, allocations: 45.66 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3167, allocations: 0 / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001781/0.3168, allocations: 93.83 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3169, allocations: 4 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3169, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3169, allocations: 4 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.3169, allocations: 11.94 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.317, allocations: 0 / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.317, allocations: 8.031 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.317, allocations: 3.984 kB / 0.5666 GB, free: 15.27 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 (7): * Single equations (assignments): 7 * 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.0001035/0.3171, allocations: 124.3 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3171, allocations: 19.89 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.3174, allocations: 90.66 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3174, allocations: 0 / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3174, allocations: 0 / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3174, allocations: 3.938 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3175, allocations: 185.6 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3175, allocations: 4 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.3176, allocations: 11.92 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3176, allocations: 0 / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3176, allocations: 0 / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3176, allocations: 0 / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3176, allocations: 4 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.3178, allocations: 101.1 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.3178, allocations: 93 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3178, allocations: 4 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.644e-05/0.3179, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.3179, allocations: 7.984 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3179, allocations: 0 / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.3181, allocations: 152.2 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3181, allocations: 3.938 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.3183, allocations: 23.94 kB / 0.5674 GB, free: 14.36 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: 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 (5): * Single equations (assignments): 3 * 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.001498/0.3198, allocations: 412.3 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.3199, allocations: 31.98 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3199, allocations: 4 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.32, allocations: 19.92 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3203, allocations: 32.8 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.3207, allocations: 217.9 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3211, allocations: 0.708 MB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.3212, allocations: 20.64 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.3212, allocations: 15.44 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3212, allocations: 0 / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of Templates: time 0.004837/0.326, allocations: 1.526 MB / 0.5703 GB, free: 11.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.036844037938863]