Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001338/0.001338, allocations: 107.9 kB / 19.8 MB, free: 2.5 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.001826/0.001826, allocations: 195.8 kB / 22.98 MB, free: 5.594 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.518/1.518, allocations: 225.6 MB / 251.6 MB, free: 13.33 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.2459/0.2459, allocations: 44.92 MB / 351.6 MB, free: 12.2 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 495.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4269, allocations: 64.25 MB / 0.5465 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003542/0.4305, allocations: 1.685 MB / 0.5481 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.4322, allocations: 0.8798 MB / 0.549 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.4323, allocations: 5.031 kB / 0.549 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.4327, allocations: 45.97 kB / 0.549 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.433, allocations: 56.94 kB / 0.5491 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.4333, allocations: 117.8 kB / 0.5492 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.4335, allocations: 95.44 kB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.4336, allocations: 7.891 kB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.4336, allocations: 38.39 kB / 0.5493 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.4337, allocations: 33.55 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4337, allocations: 2.812 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.4338, allocations: 28.31 kB / 0.5494 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.4339, allocations: 26.03 kB / 0.5494 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.434, allocations: 43.67 kB / 0.5494 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.4342, allocations: 117.1 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4342, allocations: 4 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4342, allocations: 0 / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4342, allocations: 1.5 kB / 0.5496 GB, free: 10.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008457/0.4351, allocations: 435.6 kB / 0.55 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4351, allocations: 9.719 kB / 0.55 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.4352, allocations: 10.73 kB / 0.55 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.4355, allocations: 219.2 kB / 0.5502 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4356, allocations: 384 / 0.5502 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.4356, allocations: 9.812 kB / 0.5502 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.4357, allocations: 51.58 kB / 0.5503 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4357, allocations: 0 / 0.5503 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4357, allocations: 1.344 kB / 0.5503 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4358, allocations: 0 / 0.5503 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.4358, allocations: 16.17 kB / 0.5503 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.4361, allocations: 184.2 kB / 0.5505 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4363, allocations: 57.45 kB / 0.5505 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.4363, allocations: 19.17 kB / 0.5505 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4363, allocations: 5.609 kB / 0.5505 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.4365, allocations: 63.52 kB / 0.5506 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.4365, allocations: 1.469 kB / 0.5506 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003144/0.4368, allocations: 99.67 kB / 0.5507 GB, free: 9.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.4369, allocations: 60.81 kB / 0.5508 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.4371, allocations: 257.7 kB / 0.551 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4372, allocations: 27.05 kB / 0.551 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.4373, allocations: 118.9 kB / 0.5511 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.4373, allocations: 14.03 kB / 0.5512 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.4373, allocations: 19.34 kB / 0.5512 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4375, allocations: 327.5 kB / 0.5515 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.4375, allocations: 11.03 kB / 0.5515 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.4376, allocations: 36.02 kB / 0.5515 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.4377, allocations: 47.36 kB / 0.5516 GB, free: 9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4377, allocations: 256 / 0.5516 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.4379, allocations: 89.34 kB / 0.5517 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4379, allocations: 6.719 kB / 0.5517 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4379, allocations: 1.438 kB / 0.5517 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4379, allocations: 5.5 kB / 0.5517 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.438, allocations: 16.61 kB / 0.5517 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.438, allocations: 0 / 0.5517 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.438, allocations: 6.875 kB / 0.5517 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4381, allocations: 2.906 kB / 0.5517 GB, free: 8.922 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 (7): * Single equations (assignments): 7 * 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.0001192/0.4382, allocations: 136 kB / 0.5518 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.4382, allocations: 14.72 kB / 0.5518 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.4384, allocations: 87.67 kB / 0.5519 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4384, allocations: 9.094 kB / 0.5519 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4384, allocations: 3.984 kB / 0.5519 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4384, allocations: 1.281 kB / 0.5519 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.4386, allocations: 193.5 kB / 0.5521 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4386, allocations: 5.141 kB / 0.5521 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.4387, allocations: 3.344 kB / 0.5521 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4387, allocations: 0 / 0.5521 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.4387, allocations: 1.156 kB / 0.5521 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4387, allocations: 1.156 kB / 0.5521 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4387, allocations: 0 / 0.5521 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.4389, allocations: 123 kB / 0.5522 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.4389, allocations: 88.42 kB / 0.5523 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.439, allocations: 1.062 kB / 0.5523 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.439, allocations: 2.031 kB / 0.5523 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.439, allocations: 10.27 kB / 0.5523 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.439, allocations: 6.156 kB / 0.5524 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.4392, allocations: 206.1 kB / 0.5525 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4392, allocations: 1.219 kB / 0.5525 GB, free: 8.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.4395, allocations: 28.61 kB / 0.5526 GB, free: 8.121 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001471/0.4409, allocations: 407.8 kB / 0.553 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.4411, allocations: 34.92 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4411, allocations: 0 / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.4412, allocations: 18.44 kB / 0.553 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.4415, allocations: 40.27 kB / 0.5531 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.442, allocations: 269.9 kB / 0.5533 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4424, allocations: 0.7168 MB / 0.554 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.232e-05/0.4425, allocations: 16.05 kB / 0.554 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.4425, allocations: 13.81 kB / 0.554 GB, free: 6.961 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4425, allocations: 0 / 0.554 GB, free: 6.961 MB / 398.1 MB Notification: Performance of Templates: time 0.005269/0.4478, allocations: 1.528 MB / 0.5555 GB, free: 6.18 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.41244300827384]