Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 46.96 MB / 361.6 MB, free: 4.059 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4341, allocations: 66.03 MB / 0.5619 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003756/0.4379, allocations: 1.798 MB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.4409, allocations: 1.727 MB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.441, allocations: 3.938 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.4413, allocations: 55.67 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.4418, allocations: 143.4 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.4421, allocations: 103.6 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.4424, allocations: 211.3 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.4425, allocations: 9.797 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.4426, allocations: 83.64 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.4429, allocations: 83.61 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.4429, allocations: 8 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.4431, allocations: 111.9 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.791e-05/0.4432, allocations: 39.77 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.996e-05/0.4433, allocations: 55.67 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.4436, allocations: 233.4 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4436, allocations: 0 / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.4436, allocations: 4 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4436, allocations: 0 / 0.5664 GB, free: 15.52 MB / 414.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.0007759/0.4444, allocations: 424.9 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4445, allocations: 8.031 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.4445, allocations: 20.84 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.4449, allocations: 186.2 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.445, allocations: 4.375 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.445, allocations: 16.05 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.4453, allocations: 156.5 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.4453, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.4453, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4453, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4454, allocations: 35.91 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.4457, allocations: 162.2 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.446, allocations: 105.2 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.4461, allocations: 41.64 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4461, allocations: 0 / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.4464, allocations: 113 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.366e-06/0.4464, allocations: 3.984 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005395/0.4469, allocations: 173.9 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.447, allocations: 140.5 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.4474, allocations: 244.1 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.4474, allocations: 33.7 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.4475, allocations: 120.1 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.4475, allocations: 27.8 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.4476, allocations: 25.72 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.4478, allocations: 334.8 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.4479, allocations: 27.98 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.448, allocations: 124.5 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.4483, allocations: 103.4 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4483, allocations: 0 / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003182/0.4486, allocations: 141.5 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4486, allocations: 4 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4486, allocations: 7.938 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.4486, allocations: 3.984 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4488, allocations: 19.94 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4488, allocations: 4 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.4489, allocations: 19.94 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4489, allocations: 8 kB / 0.5691 GB, free: 12.46 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001736/0.449, allocations: 130.4 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4491, allocations: 19.84 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.4495, allocations: 166.6 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4495, allocations: 4.25 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4495, allocations: 0 / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.4495, allocations: 4 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.4498, allocations: 169.1 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4498, allocations: 0 / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.4498, allocations: 15.94 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.4498, allocations: 7.938 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4498, allocations: 0 / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4498, allocations: 0 / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4498, allocations: 7.984 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.4502, allocations: 185.7 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.4502, allocations: 23.78 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.4503, allocations: 8 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.4504, allocations: 7.984 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.4504, allocations: 7.984 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4504, allocations: 15.94 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.4506, allocations: 177.8 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4506, allocations: 0 / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.451, allocations: 59.86 kB / 0.5701 GB, free: 11.39 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.002035/0.453, allocations: 0.5313 MB / 0.5706 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.4533, allocations: 87.89 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4533, allocations: 0 / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4535, allocations: 43.92 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.4539, allocations: 50.88 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.4547, allocations: 291.6 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.4549, allocations: 111.4 kB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.455, allocations: 37.45 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.455, allocations: 27.41 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.455, allocations: 0 / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Templates: time 0.00833/0.4634, allocations: 3.532 MB / 0.5747 GB, free: 6.914 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.476642812005593]