Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.001527/0.001527, allocations: 113.1 kB / 21.85 MB, free: 64 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.001673/0.001673, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.059 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.2261/0.2261, allocations: 46.95 MB / 362.1 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [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.002388/0.002388, allocations: 76.11 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.365, allocations: 66.09 MB / 0.5624 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003557/0.3685, allocations: 1.733 MB / 0.5641 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3705, allocations: 1.052 MB / 0.5651 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.3705, allocations: 0 / 0.5651 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.3708, allocations: 39.77 kB / 0.5652 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.3712, allocations: 107.5 kB / 0.5653 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.3714, allocations: 75.73 kB / 0.5653 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.3716, allocations: 103.7 kB / 0.5654 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3717, allocations: 15.86 kB / 0.5654 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3718, allocations: 43.8 kB / 0.5655 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.3719, allocations: 35.83 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3719, allocations: 7.938 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.372, allocations: 39.98 kB / 0.5656 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.3721, allocations: 19.92 kB / 0.5656 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.3721, allocations: 31.75 kB / 0.5656 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.3723, allocations: 125.9 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3724, allocations: 0 / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3724, allocations: 4 kB / 0.5657 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3724, allocations: 0 / 0.5657 GB, free: 0.7969 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.0005895/0.373, allocations: 345.5 kB / 0.5661 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.373, allocations: 8.031 kB / 0.5661 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.373, allocations: 12.84 kB / 0.5661 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3733, allocations: 147.2 kB / 0.5662 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3734, allocations: 8.375 kB / 0.5662 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3734, allocations: 4.375 kB / 0.5662 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3735, allocations: 57.97 kB / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3736, allocations: 0 / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3736, allocations: 8 kB / 0.5663 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3736, allocations: 0 / 0.5663 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.3737, allocations: 19.92 kB / 0.5663 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.3741, allocations: 256 kB / 0.5666 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3742, allocations: 54.67 kB / 0.5666 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.3743, allocations: 20.84 kB / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.3743, allocations: 0 / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.3745, allocations: 71.33 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3745, allocations: 0 / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006116/0.3751, allocations: 189.3 kB / 0.5669 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.3752, allocations: 51.41 kB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3754, allocations: 179.3 kB / 0.5671 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3754, allocations: 25.7 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.3755, allocations: 108.1 kB / 0.5672 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.3755, allocations: 19.84 kB / 0.5673 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.3755, allocations: 21.72 kB / 0.5673 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3757, allocations: 334.8 kB / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.3758, allocations: 19.98 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.3759, allocations: 37.64 kB / 0.5676 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.376, allocations: 61.66 kB / 0.5677 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.376, allocations: 0 / 0.5677 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.3762, allocations: 101.6 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3762, allocations: 8.031 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3762, allocations: 4.375 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3762, allocations: 0 / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.3763, allocations: 27.86 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3763, allocations: 0 / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.3764, allocations: 8 kB / 0.5678 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3764, allocations: 4 kB / 0.5679 GB, free: 14.43 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.0001174/0.3765, allocations: 129.8 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.3765, allocations: 7.953 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.3768, allocations: 122.9 kB / 0.5681 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3768, allocations: 4 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3768, allocations: 0 / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3768, allocations: 0 / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3773, allocations: 370.6 kB / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3773, allocations: 0 / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.3773, allocations: 8 kB / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3773, allocations: 0 / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3773, allocations: 4.031 kB / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.3773, allocations: 11.92 kB / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3773, allocations: 0 / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3776, allocations: 204.3 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.3776, allocations: 11.91 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3776, allocations: 4 kB / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.3777, allocations: 11.94 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3777, allocations: 7.984 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.3777, allocations: 4 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3779, allocations: 137.6 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3779, allocations: 0 / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3781, allocations: 24 kB / 0.5689 GB, free: 13.29 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.3798, allocations: 454.5 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.38, allocations: 63.89 kB / 0.5694 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.38, allocations: 0 / 0.5694 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.3801, allocations: 27.92 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3805, allocations: 30.47 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.3809, allocations: 223.4 kB / 0.5696 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3813, allocations: 0.7041 MB / 0.5703 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.3813, allocations: 21.28 kB / 0.5703 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.3814, allocations: 23.42 kB / 0.5704 GB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3814, allocations: 0 / 0.5704 GB, free: 11.87 MB / 414.1 MB Notification: Performance of Templates: time 0.005112/0.3865, allocations: 1.766 MB / 0.5721 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.039408857002854]