Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.001515/0.001515, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001816/0.001816, allocations: 217.4 kB / 24.47 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.525/1.525, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2477/0.2477, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") [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.002741/0.002741, allocations: 83.86 kB / 0.4968 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.383, allocations: 65.99 MB / 0.5613 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003818/0.3868, allocations: 1.732 MB / 0.563 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3887, allocations: 1.053 MB / 0.564 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/0.3888, allocations: 4 kB / 0.564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.3891, allocations: 59.69 kB / 0.5641 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.3895, allocations: 103.5 kB / 0.5642 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.3897, allocations: 75.72 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.3899, allocations: 107.7 kB / 0.5643 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.39, allocations: 7.984 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3901, allocations: 39.8 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.3e-05/0.3902, allocations: 35.78 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3902, allocations: 8 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3903, allocations: 43.97 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.3904, allocations: 27.86 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.3905, allocations: 47.67 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3907, allocations: 146 kB / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3907, allocations: 0 / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3907, allocations: 0 / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3907, allocations: 3.938 kB / 0.5647 GB, free: 1.504 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.0006801/0.3914, allocations: 450.4 kB / 0.5651 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3914, allocations: 8.031 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.3915, allocations: 20.84 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3919, allocations: 239.8 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3919, allocations: 384 / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3919, allocations: 4.375 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3921, allocations: 65.92 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3921, allocations: 0 / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3921, allocations: 0 / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3921, allocations: 4 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.3922, allocations: 19.98 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.3926, allocations: 300.9 kB / 0.5657 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3928, allocations: 54.62 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.3929, allocations: 16.84 kB / 0.5658 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3929, allocations: 4 kB / 0.5658 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3931, allocations: 67.39 kB / 0.5659 GB, free: 112 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3931, allocations: 0 / 0.5659 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005973/0.3937, allocations: 185.2 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3937, allocations: 59.41 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.3941, allocations: 276.3 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3941, allocations: 33.64 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.3942, allocations: 112.1 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.3942, allocations: 27.8 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3942, allocations: 29.7 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3944, allocations: 326.8 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.3945, allocations: 23.98 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.3946, allocations: 41.58 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3947, allocations: 65.7 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3947, allocations: 0 / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.3949, allocations: 113.5 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3949, allocations: 8 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3949, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3949, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.395, allocations: 19.98 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.395, allocations: 0 / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.3951, allocations: 4 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.3951, allocations: 4 kB / 0.5672 GB, free: 14.73 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.0001393/0.3952, allocations: 145.7 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.3952, allocations: 15.91 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3955, allocations: 115.1 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3955, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3955, allocations: 384 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3955, allocations: 7.984 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.396, allocations: 411.2 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.396, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.3961, allocations: 12 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3961, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3961, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3961, allocations: 7.875 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3961, allocations: 0 / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3964, allocations: 212.3 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.3964, allocations: 96.95 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3965, allocations: 0 / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.3965, allocations: 11.88 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.3966, allocations: 7.984 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3966, allocations: 4 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.3968, allocations: 216.6 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3968, allocations: 4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3971, allocations: 23.94 kB / 0.5684 GB, free: 13.35 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.001733/0.3988, allocations: 463.5 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.399, allocations: 55.95 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.399, allocations: 4.062 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3991, allocations: 31.92 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3995, allocations: 24.86 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.4001, allocations: 311.5 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4005, allocations: 0.7275 MB / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.4006, allocations: 16.81 kB / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.4006, allocations: 19.38 kB / 0.57 GB, free: 11.83 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4006, allocations: 0 / 0.57 GB, free: 11.83 MB / 414.1 MB Notification: Performance of Templates: time 0.005345/0.406, allocations: 1.812 MB / 0.5718 GB, free: 10.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.1993468618020415]