Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.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.001869/0.001869, allocations: 113.1 kB / 21.85 MB, free: 80 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.002432/0.002432, allocations: 212.4 kB / 25.13 MB, free: 3.605 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.413/1.413, allocations: 230.4 MB / 258.7 MB, free: 8.031 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.2272/0.2272, allocations: 46.94 MB / 362 MB, free: 4.211 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.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.002322/0.002322, allocations: 79.86 kB / 0.4979 GB, free: 7.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3306, allocations: 66.08 MB / 0.5624 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003317/0.3339, allocations: 1.744 MB / 0.5641 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3358, allocations: 1.041 MB / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.3359, allocations: 3.938 kB / 0.5651 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.3363, allocations: 51.7 kB / 0.5652 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.3366, allocations: 95.55 kB / 0.5653 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.3369, allocations: 83.66 kB / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.3371, allocations: 103.8 kB / 0.5654 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3372, allocations: 7.984 kB / 0.5654 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3373, allocations: 47.72 kB / 0.5655 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.3374, allocations: 35.8 kB / 0.5655 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3375, allocations: 4 kB / 0.5655 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3376, allocations: 43.97 kB / 0.5656 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.3377, allocations: 23.92 kB / 0.5656 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.3377, allocations: 31.75 kB / 0.5656 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.338, allocations: 126 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.338, allocations: 3.938 kB / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.338, allocations: 0 / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.338, allocations: 0 / 0.5657 GB, free: 0.7812 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.0006232/0.3386, allocations: 341.5 kB / 0.5661 GB, free: 428 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3387, allocations: 12.03 kB / 0.5661 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.3387, allocations: 12.89 kB / 0.5661 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.3391, allocations: 159 kB / 0.5662 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3391, allocations: 384 / 0.5662 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.3391, allocations: 8.375 kB / 0.5663 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3393, allocations: 53.98 kB / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3393, allocations: 0 / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3393, allocations: 4 kB / 0.5663 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3393, allocations: 4 kB / 0.5663 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.3394, allocations: 19.92 kB / 0.5663 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.3398, allocations: 263.9 kB / 0.5666 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.34, allocations: 50.67 kB / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.34, allocations: 16.86 kB / 0.5667 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3401, allocations: 4 kB / 0.5667 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3402, allocations: 75.31 kB / 0.5667 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3402, allocations: 0 / 0.5667 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005791/0.3408, allocations: 177.5 kB / 0.5669 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3409, allocations: 55.34 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3411, allocations: 202.3 kB / 0.5671 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3411, allocations: 25.7 kB / 0.5672 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.3412, allocations: 108.1 kB / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.3412, allocations: 27.78 kB / 0.5673 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.3413, allocations: 25.72 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3414, allocations: 326.8 kB / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.3415, allocations: 24.17 kB / 0.5677 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3416, allocations: 41.64 kB / 0.5677 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3418, allocations: 61.64 kB / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3418, allocations: 0 / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.342, allocations: 105.6 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.342, allocations: 8 kB / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.342, allocations: 0 / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.342, allocations: 0 / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.3421, allocations: 19.92 kB / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3421, allocations: 4 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.3422, allocations: 0 / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3422, allocations: 4 kB / 0.5679 GB, free: 14.39 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.0001273/0.3423, allocations: 133.8 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3423, allocations: 15.91 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.3426, allocations: 115 kB / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3426, allocations: 0 / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3426, allocations: 0 / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3426, allocations: 0 / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.3431, allocations: 370.6 kB / 0.5685 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3431, allocations: 3.984 kB / 0.5685 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.3431, allocations: 12.03 kB / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3431, allocations: 3.984 kB / 0.5685 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3431, allocations: 0 / 0.5685 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3431, allocations: 7.938 kB / 0.5685 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3431, allocations: 0 / 0.5685 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3434, allocations: 208.3 kB / 0.5687 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.3434, allocations: 11.89 kB / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3434, allocations: 12 kB / 0.5687 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.3435, allocations: 7.922 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3436, allocations: 4 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3436, allocations: 7.984 kB / 0.5688 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3437, allocations: 144.2 kB / 0.5689 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3437, allocations: 0 / 0.5689 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.344, allocations: 27.92 kB / 0.5689 GB, free: 13.23 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.001665/0.3456, allocations: 458 kB / 0.5694 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.3458, allocations: 55.91 kB / 0.5694 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3458, allocations: 4 kB / 0.5694 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.3459, allocations: 27.98 kB / 0.5694 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3463, allocations: 31.97 kB / 0.5695 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.3467, allocations: 226.7 kB / 0.5697 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.3471, allocations: 0.7079 MB / 0.5704 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.3472, allocations: 25.28 kB / 0.5704 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.3472, allocations: 23.42 kB / 0.5704 GB, free: 11.79 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3472, allocations: 0 / 0.5704 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Templates: time 0.00486/0.3521, allocations: 1.771 MB / 0.5722 GB, free: 10.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.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: 4.924355129944161]