Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 186.5 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2566/0.2566, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 60.14 kB / 497.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4352, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003929/0.4391, allocations: 1.733 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.4411, allocations: 0.9024 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.4412, allocations: 1.188 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.4415, allocations: 37.95 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.4418, allocations: 53.3 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.4422, allocations: 114.7 kB / 0.5517 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.4424, allocations: 97.92 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.4425, allocations: 4.422 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4426, allocations: 53.36 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.4427, allocations: 25.48 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.4428, allocations: 4.031 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.4429, allocations: 45.8 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.4429, allocations: 26.72 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.443, allocations: 27.47 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.4433, allocations: 117.7 kB / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4433, allocations: 4 kB / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4433, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.4433, allocations: 0 / 0.552 GB, free: 10.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000654/0.4439, allocations: 330.1 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.444, allocations: 10.77 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.444, allocations: 13.31 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.4444, allocations: 147.3 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4444, allocations: 2.656 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.4444, allocations: 10.22 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.4446, allocations: 58.23 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4446, allocations: 3.938 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4446, allocations: 5.25 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4446, allocations: 3.938 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.4447, allocations: 19.23 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.4452, allocations: 252.2 kB / 0.5529 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.4454, allocations: 60.39 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.4455, allocations: 16.36 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.4455, allocations: 5.109 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.4457, allocations: 65.42 kB / 0.553 GB, free: 9.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4457, allocations: 0 / 0.553 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006935/0.4464, allocations: 172.8 kB / 0.5532 GB, free: 9.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.4465, allocations: 60.98 kB / 0.5532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.4467, allocations: 168.6 kB / 0.5534 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4467, allocations: 25.7 kB / 0.5534 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.4468, allocations: 96.83 kB / 0.5535 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.4469, allocations: 35.72 kB / 0.5535 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.4469, allocations: 20.28 kB / 0.5536 GB, free: 9.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4471, allocations: 329.6 kB / 0.5539 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.4471, allocations: 27.58 kB / 0.5539 GB, free: 8.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.4472, allocations: 39.39 kB / 0.5539 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.4473, allocations: 55.14 kB / 0.554 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4473, allocations: 0 / 0.554 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.4475, allocations: 98.92 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4476, allocations: 6.125 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4476, allocations: 4.031 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4476, allocations: 1.125 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4477, allocations: 16.7 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4477, allocations: 1.062 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.4477, allocations: 6.281 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.4478, allocations: 7.312 kB / 0.5541 GB, free: 8.773 MB / 398.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 (10): * Single equations (assignments): 10 * 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.000124/0.4479, allocations: 129.1 kB / 0.5542 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.4479, allocations: 16.38 kB / 0.5543 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.4482, allocations: 115 kB / 0.5544 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4482, allocations: 1.188 kB / 0.5544 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4482, allocations: 0 / 0.5544 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4483, allocations: 5.25 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.4488, allocations: 360.2 kB / 0.5547 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4488, allocations: 7.938 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.4488, allocations: 8.219 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4488, allocations: 1.062 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4488, allocations: 13.09 kB / 0.5547 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4488, allocations: 1.125 kB / 0.5547 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4489, allocations: 5.141 kB / 0.5548 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.4492, allocations: 203.2 kB / 0.5549 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.4492, allocations: 15.72 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.4492, allocations: 5.312 kB / 0.555 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.4493, allocations: 2.156 kB / 0.555 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4493, allocations: 11.36 kB / 0.555 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4493, allocations: 3.469 kB / 0.555 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.4495, allocations: 133 kB / 0.5551 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4495, allocations: 1.125 kB / 0.5551 GB, free: 7.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.4498, allocations: 28.36 kB / 0.5551 GB, free: 7.879 MB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.001794/0.4516, allocations: 457.5 kB / 0.5556 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.4518, allocations: 60.28 kB / 0.5556 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4518, allocations: 1.062 kB / 0.5556 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.134e-05/0.4519, allocations: 22.97 kB / 0.5557 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.4522, allocations: 32.03 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.4529, allocations: 215.1 kB / 0.5559 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.4534, allocations: 0.6998 MB / 0.5566 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.4534, allocations: 18.14 kB / 0.5566 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.4535, allocations: 14.84 kB / 0.5566 GB, free: 6.703 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4535, allocations: 5.062 kB / 0.5566 GB, free: 6.699 MB / 398.1 MB Notification: Performance of Templates: time 0.007005/0.4605, allocations: 1.75 MB / 0.5583 GB, free: 5.605 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.52894919551909]