Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001511/0.001511, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001544/0.001544, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.2525/0.2525, allocations: 46.92 MB / 360.8 MB, free: 4.289 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.91 kB / 0.4967 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4129, allocations: 66.03 MB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003737/0.4167, allocations: 1.943 MB / 0.5631 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.4188, allocations: 1.165 MB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4189, allocations: 0 / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.4194, allocations: 163.5 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.4199, allocations: 183.2 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.4201, allocations: 119.6 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.4205, allocations: 243.3 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.4206, allocations: 21.95 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.4208, allocations: 123.5 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.421, allocations: 147.5 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.4211, allocations: 8 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4212, allocations: 63.97 kB / 0.5653 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.4213, allocations: 55.78 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.4214, allocations: 83.34 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.4218, allocations: 225.3 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4218, allocations: 0 / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4218, allocations: 4 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4218, allocations: 0 / 0.5656 GB, free: 15.85 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008089/0.4226, allocations: 484.5 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4226, allocations: 12.03 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.4227, allocations: 24.75 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.4231, allocations: 222.5 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4231, allocations: 4.375 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.4231, allocations: 12.12 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.4234, allocations: 111.3 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4234, allocations: 0 / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4234, allocations: 4 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.4234, allocations: 0 / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.4236, allocations: 51.89 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.4242, allocations: 439.8 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.4246, allocations: 117.2 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.4247, allocations: 41.77 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.4248, allocations: 8 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.425, allocations: 133 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.425, allocations: 0 / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001329/0.4264, allocations: 493.6 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.4264, allocations: 89.05 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.4268, allocations: 372.5 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.4269, allocations: 33.7 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.427, allocations: 144.5 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.4271, allocations: 75.38 kB / 0.5684 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.4272, allocations: 49.64 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4274, allocations: 338.8 kB / 0.5687 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4275, allocations: 59.97 kB / 0.5688 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.4277, allocations: 91.34 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.428, allocations: 155.3 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.428, allocations: 0 / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004405/0.4284, allocations: 237.5 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.4285, allocations: 7.938 kB / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4285, allocations: 0 / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.4285, allocations: 4 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4287, allocations: 47.91 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.4287, allocations: 0 / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.4287, allocations: 8 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.4288, allocations: 8 kB / 0.5693 GB, free: 11.8 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002255/0.429, allocations: 166.3 kB / 0.5695 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.429, allocations: 31.75 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000581/0.4296, allocations: 263.5 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.4296, allocations: 4 kB / 0.5698 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4296, allocations: 0 / 0.5698 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4296, allocations: 7.984 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.4307, allocations: 0.695 MB / 0.5704 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4307, allocations: 0 / 0.5704 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.4308, allocations: 28.17 kB / 0.5705 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.4308, allocations: 4 kB / 0.5705 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.4309, allocations: 15.92 kB / 0.5705 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.4309, allocations: 7.938 kB / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4309, allocations: 0 / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.4314, allocations: 423.7 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.4315, allocations: 23.8 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.4315, allocations: 12 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4317, allocations: 15.98 kB / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.4317, allocations: 15.92 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.4318, allocations: 19.98 kB / 0.571 GB, free: 9.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002886/0.4321, allocations: 275 kB / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4321, allocations: 0 / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.4324, allocations: 51.92 kB / 0.5713 GB, free: 9.664 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.00214/0.4346, allocations: 0.5186 MB / 0.5718 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004389/0.435, allocations: 143.8 kB / 0.5719 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.435, allocations: 0 / 0.5719 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.4352, allocations: 75.84 kB / 0.572 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.4358, allocations: 66.64 kB / 0.5721 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4369, allocations: 0.4963 MB / 0.5726 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.4374, allocations: 0.7636 MB / 0.5733 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.4375, allocations: 33.92 kB / 0.5733 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.4376, allocations: 35.44 kB / 0.5734 GB, free: 7.672 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4376, allocations: 0 / 0.5734 GB, free: 7.672 MB / 414.1 MB Notification: Performance of Templates: time 0.008536/0.4461, allocations: 3.247 MB / 0.5765 GB, free: 4.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.647875603986904]