Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001547/0.001547, allocations: 114.5 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.002002/0.002002, allocations: 206.8 kB / 24.47 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.554/1.554, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2303/0.2303, allocations: 46.89 MB / 361.1 MB, free: 4.645 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") [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.002394/0.002394, allocations: 83.84 kB / 0.4968 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3896, allocations: 65.98 MB / 0.5613 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003482/0.3931, allocations: 1.957 MB / 0.5632 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3951, allocations: 1.091 MB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.3952, allocations: 4 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.3955, allocations: 47.7 kB / 0.5643 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.3958, allocations: 95.47 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.3961, allocations: 95.66 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.3964, allocations: 155.5 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3966, allocations: 16.38 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3967, allocations: 59.7 kB / 0.5647 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3968, allocations: 51.7 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.3968, allocations: 8 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.397, allocations: 51.98 kB / 0.5648 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.397, allocations: 23.92 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.3971, allocations: 63.53 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.3974, allocations: 147.3 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3974, allocations: 0 / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3974, allocations: 0 / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3974, allocations: 0 / 0.565 GB, free: 1.148 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008575/0.3983, allocations: 488.1 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3983, allocations: 19.97 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.3984, allocations: 16.84 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.3988, allocations: 228.9 kB / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3988, allocations: 4.375 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.3989, allocations: 8.375 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.3992, allocations: 116.4 kB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3992, allocations: 4 kB / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3992, allocations: 4 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3992, allocations: 4 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3994, allocations: 43.95 kB / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/0.4002, allocations: 0.5088 MB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.4006, allocations: 94.52 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4007, allocations: 32.84 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.4008, allocations: 0 / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.4012, allocations: 91.31 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.4012, allocations: 0 / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004138/0.4016, allocations: 137.5 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.4016, allocations: 55.41 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.402, allocations: 207.1 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.402, allocations: 29.7 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4021, allocations: 120 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.4022, allocations: 35.73 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.4022, allocations: 25.72 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4024, allocations: 330.8 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.4025, allocations: 27.98 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4026, allocations: 60.28 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4028, allocations: 96.2 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4028, allocations: 0 / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002848/0.4031, allocations: 145.9 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4031, allocations: 6.5 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4032, allocations: 96 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4032, allocations: 7.938 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4033, allocations: 23.92 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4033, allocations: 4 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.4034, allocations: 15.88 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4034, allocations: 12 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001106/0.4035, allocations: 121.9 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.4035, allocations: 15.91 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.4038, allocations: 131 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4038, allocations: 0 / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4038, allocations: 0 / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.4038, allocations: 3.938 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.404, allocations: 217.5 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.404, allocations: 7.938 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.4041, allocations: 8 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.4041, allocations: 4 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4041, allocations: 0 / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4042, allocations: 7.938 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4042, allocations: 3.984 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.4047, allocations: 180.9 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.4048, allocations: 89.05 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.4048, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.4049, allocations: 12.05 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.4049, allocations: 7.938 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.405, allocations: 7.984 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.4051, allocations: 144.4 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4051, allocations: 0 / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.4054, allocations: 28.12 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001707/0.4071, allocations: 405.1 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.4074, allocations: 79.83 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4074, allocations: 4 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4075, allocations: 35.92 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4078, allocations: 45.92 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.4085, allocations: 287.3 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.4089, allocations: 0.7164 MB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.242e-05/0.4089, allocations: 17.36 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.409, allocations: 19.42 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.409, allocations: 4 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.005547/0.4145, allocations: 1.928 MB / 0.5723 GB, free: 9.422 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.2345602018758655]