Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.001435/0.001435, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001522/0.001522, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.529/1.529, 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.2814/0.2814, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") [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.002709/0.002709, allocations: 75.88 kB / 0.4968 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4149, allocations: 65.99 MB / 0.5613 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003886/0.4188, allocations: 1.745 MB / 0.563 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.4217, allocations: 1.737 MB / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.4218, allocations: 3.938 kB / 0.5647 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.4221, allocations: 43.77 kB / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.4225, allocations: 99.59 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.4227, allocations: 75.67 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.4229, allocations: 107.7 kB / 0.565 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.423, allocations: 4 kB / 0.565 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.4231, allocations: 55.72 kB / 0.5651 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.4233, allocations: 39.83 kB / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.4233, allocations: 4 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.4235, allocations: 115.9 kB / 0.5652 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.4236, allocations: 19.86 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.4237, allocations: 35.8 kB / 0.5653 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.424, allocations: 166.2 kB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.424, allocations: 11.92 kB / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.424, allocations: 0 / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.424, allocations: 0 / 0.5654 GB, free: 0.7773 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.0006743/0.4246, allocations: 426.6 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4247, allocations: 11.97 kB / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.4247, allocations: 12.84 kB / 0.5659 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.4251, allocations: 212.1 kB / 0.5661 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4251, allocations: 384 / 0.5661 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.4252, allocations: 12.12 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4254, allocations: 67.39 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4254, allocations: 0 / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4254, allocations: 11.92 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4254, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.4255, allocations: 27.92 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.4259, allocations: 280.9 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.4261, allocations: 54.67 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.4262, allocations: 16.86 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4262, allocations: 3.984 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.4264, allocations: 71.33 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4264, allocations: 4 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005831/0.4269, allocations: 177.3 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.427, allocations: 81.05 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.4272, allocations: 162.5 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4272, allocations: 29.7 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.4273, allocations: 96.12 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.4273, allocations: 27.8 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.4274, allocations: 25.72 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4275, allocations: 326.8 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.4276, allocations: 19.98 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.4276, allocations: 42.56 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.4278, allocations: 57.66 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4278, allocations: 0 / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.428, allocations: 109.6 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.428, allocations: 7.938 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.428, allocations: 0 / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.428, allocations: 0 / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.4281, allocations: 19.98 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4281, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.4282, allocations: 7.938 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4282, allocations: 0 / 0.5677 GB, free: 14.17 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.0001301/0.4283, allocations: 125.8 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4283, allocations: 11.98 kB / 0.5679 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.4286, allocations: 110.3 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4286, allocations: 0 / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4286, allocations: 4 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4286, allocations: 3.938 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.4291, allocations: 399.6 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4291, allocations: 3.984 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.4291, allocations: 16.03 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4291, allocations: 0 / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.4292, allocations: 11.94 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4292, allocations: 0 / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4292, allocations: 0 / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4294, allocations: 204.6 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.4295, allocations: 93.05 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4295, allocations: 7.938 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.4296, allocations: 4 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4296, allocations: 12.17 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.4297, allocations: 4 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.4298, allocations: 131.9 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4298, allocations: 0 / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00031/0.4301, allocations: 43.86 kB / 0.5689 GB, free: 12.9 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.002005/0.4321, allocations: 0.5434 MB / 0.5694 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4323, allocations: 59.91 kB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4323, allocations: 0 / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.4324, allocations: 27.92 kB / 0.5695 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4328, allocations: 31.91 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4333, allocations: 218.9 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4336, allocations: 0.7002 MB / 0.5704 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.776e-05/0.4337, allocations: 16.88 kB / 0.5704 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.4337, allocations: 23.42 kB / 0.5704 GB, free: 11.42 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4337, allocations: 0 / 0.5704 GB, free: 11.42 MB / 414.1 MB Notification: Performance of Templates: time 0.006144/0.4399, allocations: 2.367 MB / 0.5727 GB, free: 9.062 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.6184846558608115]