Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.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.009023/0.009023, allocations: 105.9 kB / 21.98 MB, free: 5.219 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.001944/0.001944, allocations: 212.2 kB / 25.29 MB, free: 3.203 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.456/1.456, allocations: 230.5 MB / 258.9 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.2298/0.2298, allocations: 46.92 MB / 362.3 MB, free: 4.199 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64") [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.00328/0.00328, allocations: 87.83 kB / 0.4983 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2949, allocations: 66.06 MB / 0.5628 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003053/0.2979, allocations: 1.71 MB / 0.5645 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2996, allocations: 1.025 MB / 0.5655 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.2996, allocations: 3.938 kB / 0.5655 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.2999, allocations: 55.75 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3002, allocations: 95.59 kB / 0.5656 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.3004, allocations: 79.67 kB / 0.5657 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3005, allocations: 99.69 kB / 0.5658 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.3006, allocations: 8.219 kB / 0.5658 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.3007, allocations: 39.8 kB / 0.5658 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.3007, allocations: 31.73 kB / 0.5658 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3008, allocations: 8 kB / 0.5659 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.3008, allocations: 39.97 kB / 0.5659 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.3009, allocations: 23.92 kB / 0.5659 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3009, allocations: 39.67 kB / 0.566 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.3011, allocations: 125.8 kB / 0.5661 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3011, allocations: 4 kB / 0.5661 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3011, allocations: 0 / 0.5661 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3011, allocations: 0 / 0.5661 GB, free: 0.832 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.0005306/0.3017, allocations: 365.4 kB / 0.5664 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.3017, allocations: 11.97 kB / 0.5664 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.3017, allocations: 16.89 kB / 0.5665 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.302, allocations: 163.2 kB / 0.5666 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.302, allocations: 4.375 kB / 0.5666 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.302, allocations: 4.375 kB / 0.5666 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3022, allocations: 49.98 kB / 0.5667 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3022, allocations: 0 / 0.5667 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3022, allocations: 4 kB / 0.5667 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.3022, allocations: 0 / 0.5667 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.429e-05/0.3022, allocations: 15.98 kB / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.3024, allocations: 164.7 kB / 0.5668 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.3026, allocations: 50.61 kB / 0.5669 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.3027, allocations: 20.84 kB / 0.5669 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3027, allocations: 0 / 0.5669 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3028, allocations: 79.31 kB / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3028, allocations: 0 / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002728/0.3031, allocations: 97.7 kB / 0.5671 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3031, allocations: 55.41 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3034, allocations: 270.8 kB / 0.5674 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3034, allocations: 29.64 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.3035, allocations: 112.1 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.3035, allocations: 15.89 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.3036, allocations: 29.7 kB / 0.5676 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3037, allocations: 322.8 kB / 0.5679 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.3038, allocations: 16.05 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.3038, allocations: 29.72 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.3039, allocations: 45.64 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3039, allocations: 4 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001713/0.3041, allocations: 89.53 kB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3041, allocations: 7.938 kB / 0.5681 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3041, allocations: 0 / 0.5681 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3041, allocations: 0 / 0.5681 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.3042, allocations: 15.98 kB / 0.5681 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3042, allocations: 0 / 0.5681 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.3042, allocations: 11.83 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3043, allocations: 4.156 kB / 0.5681 GB, free: 14.57 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.0001121/0.3044, allocations: 137.9 kB / 0.5682 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3044, allocations: 15.84 kB / 0.5682 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.3046, allocations: 102.7 kB / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3046, allocations: 0 / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3046, allocations: 0 / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3046, allocations: 0 / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3048, allocations: 168.7 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3048, allocations: 0 / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.3048, allocations: 7.938 kB / 0.5685 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3048, allocations: 0 / 0.5685 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3048, allocations: 7.984 kB / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3048, allocations: 128 / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3048, allocations: 8 kB / 0.5685 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.305, allocations: 105.1 kB / 0.5686 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.305, allocations: 19.83 kB / 0.5686 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.305, allocations: 7.938 kB / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.3051, allocations: 0 / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.3051, allocations: 7.984 kB / 0.5687 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3051, allocations: 8 kB / 0.5687 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3053, allocations: 196.6 kB / 0.5688 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3053, allocations: 4 kB / 0.5689 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.3055, allocations: 15.94 kB / 0.5689 GB, free: 13.69 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.001424/0.3069, allocations: 416.9 kB / 0.5693 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.3071, allocations: 31.98 kB / 0.5693 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3071, allocations: 4.062 kB / 0.5693 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.3071, allocations: 19.94 kB / 0.5693 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3074, allocations: 31.34 kB / 0.5693 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.3079, allocations: 300.1 kB / 0.5696 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3082, allocations: 0.7139 MB / 0.5703 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.3082, allocations: 19.44 kB / 0.5704 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3082, allocations: 4 kB / 0.5704 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Templates: time 0.003645/0.3119, allocations: 1.882 MB / 0.5722 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.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: 7.865256246179342]