Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.001603/0.001603, allocations: 108.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.001632/0.001632, allocations: 217.3 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.638/1.638, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2706/0.2706, allocations: 46.88 MB / 361.1 MB, free: 4.633 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") [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.002443/0.002443, allocations: 83.86 kB / 0.4968 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3814, allocations: 65.99 MB / 0.5613 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003104/0.3845, allocations: 1.842 MB / 0.5631 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3865, allocations: 1.115 MB / 0.5641 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.3866, allocations: 3.938 kB / 0.5641 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.3871, allocations: 307.3 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.3876, allocations: 267.2 kB / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.3879, allocations: 103.6 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.3882, allocations: 259.3 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/0.3883, allocations: 13.61 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.3885, allocations: 135.5 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.3888, allocations: 223.4 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.3889, allocations: 8 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.389, allocations: 43.98 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3892, allocations: 139.5 kB / 0.5656 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3893, allocations: 154.8 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.3898, allocations: 384.8 kB / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3898, allocations: 0 / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3898, allocations: 0 / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3898, allocations: 0 / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00108/0.3909, allocations: 0.7577 MB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3909, allocations: 8.031 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/0.391, allocations: 52.61 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.3917, allocations: 460.3 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3917, allocations: 8.359 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3917, allocations: 384 / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3919, allocations: 95.56 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3919, allocations: 4 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3919, allocations: 3.984 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3919, allocations: 0 / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.392, allocations: 27.98 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.3925, allocations: 390.3 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3928, allocations: 101.2 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-05/0.3929, allocations: 41.7 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.3929, allocations: 0 / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.3931, allocations: 109 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3931, allocations: 0 / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005229/0.3936, allocations: 205.6 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.3937, allocations: 85.11 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3949, allocations: 1.046 MB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.3949, allocations: 33.7 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3951, allocations: 232.1 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.3952, allocations: 35.73 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.3952, allocations: 29.7 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3954, allocations: 366.8 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.3955, allocations: 35.92 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3956, allocations: 59.42 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.3958, allocations: 91.34 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3958, allocations: 0 / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003034/0.3961, allocations: 181.1 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3961, allocations: 10.34 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3961, allocations: 0 / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3961, allocations: 3.984 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3962, allocations: 20 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3962, allocations: 0 / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.3963, allocations: 11.98 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.3963, allocations: 4 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002237/0.3965, allocations: 234.6 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.3966, allocations: 59.56 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.397, allocations: 202 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.397, allocations: 4 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.397, allocations: 0 / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.397, allocations: 3.938 kB / 0.5709 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.3974, allocations: 349.4 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3974, allocations: 0 / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.3974, allocations: 19.92 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3974, allocations: 4 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3974, allocations: 0 / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3974, allocations: 4 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3974, allocations: 0 / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.3978, allocations: 213.5 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.3979, allocations: 144.7 kB / 0.5716 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.398, allocations: 8 kB / 0.5716 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.3981, allocations: 4 kB / 0.5716 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3981, allocations: 7.984 kB / 0.5716 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3981, allocations: 8 kB / 0.5716 GB, free: 9.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000844/0.399, allocations: 0.7839 MB / 0.5724 GB, free: 9.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 0 / 0.5724 GB, free: 9.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3992, allocations: 47.92 kB / 0.5725 GB, free: 9.098 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001454/0.4007, allocations: 419.9 kB / 0.5729 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.401, allocations: 75.91 kB / 0.5729 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.401, allocations: 3.938 kB / 0.5729 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4011, allocations: 43.95 kB / 0.573 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4015, allocations: 76.23 kB / 0.573 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.4028, allocations: 0.9051 MB / 0.5739 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.4032, allocations: 0.8508 MB / 0.5748 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.4033, allocations: 59.44 kB / 0.5748 GB, free: 6.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.4034, allocations: 27.44 kB / 0.5748 GB, free: 6.742 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4034, allocations: 0 / 0.5748 GB, free: 6.742 MB / 414.1 MB Notification: Performance of Templates: time 0.01006/0.4135, allocations: 3.879 MB / 0.5786 GB, free: 2.875 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.695632106158882]