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.001274/0.001274, allocations: 105.5 kB / 19.81 MB, free: 2.516 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.001423/0.001423, allocations: 192.4 kB / 22.97 MB, free: 5.617 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.506/1.506, 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.2534/0.2534, allocations: 44.9 MB / 351.6 MB, free: 12.24 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.001973/0.001973, allocations: 75.89 kB / 495.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4275, allocations: 64.25 MB / 0.5465 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003482/0.431, allocations: 1.721 MB / 0.5482 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.4326, allocations: 0.8994 MB / 0.549 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.4327, allocations: 5.031 kB / 0.549 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.433, allocations: 29.77 kB / 0.5491 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.4333, allocations: 60.47 kB / 0.5491 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.4336, allocations: 107.5 kB / 0.5492 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.4338, allocations: 102.3 kB / 0.5493 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.434, allocations: 11.7 kB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4341, allocations: 43.81 kB / 0.5494 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.433e-05/0.4342, allocations: 30.41 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.4342, allocations: 3.5 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.4343, allocations: 43.17 kB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.4344, allocations: 17.55 kB / 0.5495 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.4344, allocations: 34.61 kB / 0.5495 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.4347, allocations: 114.2 kB / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4347, allocations: 0 / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4347, allocations: 0 / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.4347, allocations: 4 kB / 0.5496 GB, free: 10.79 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.0006556/0.4353, allocations: 411.2 kB / 0.55 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4354, allocations: 8.656 kB / 0.55 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.4354, allocations: 13.69 kB / 0.55 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.4358, allocations: 214 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4358, allocations: 2.844 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.4358, allocations: 5.562 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.436, allocations: 58.05 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.436, allocations: 4 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.436, allocations: 1.406 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.436, allocations: 0 / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.4361, allocations: 19.17 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.4365, allocations: 281.3 kB / 0.5506 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.4367, allocations: 56.02 kB / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.4368, allocations: 25.09 kB / 0.5507 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.4368, allocations: 3.938 kB / 0.5507 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.437, allocations: 66.58 kB / 0.5507 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.437, allocations: 0 / 0.5507 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006055/0.4376, allocations: 180.3 kB / 0.5509 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.4376, allocations: 52.44 kB / 0.551 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4378, allocations: 172.3 kB / 0.5511 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4378, allocations: 27.14 kB / 0.5511 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.4379, allocations: 100.4 kB / 0.5512 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.438, allocations: 28.08 kB / 0.5513 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.438, allocations: 20.59 kB / 0.5513 GB, free: 9.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4382, allocations: 329.9 kB / 0.5516 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.4382, allocations: 17.95 kB / 0.5516 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.4384, allocations: 48.52 kB / 0.5517 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.4385, allocations: 54.38 kB / 0.5517 GB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4385, allocations: 0 / 0.5517 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.4387, allocations: 107.1 kB / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4387, allocations: 5.469 kB / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4387, allocations: 1.094 kB / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4387, allocations: 1.094 kB / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.4388, allocations: 17.06 kB / 0.5518 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4388, allocations: 5.047 kB / 0.5518 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.4389, allocations: 10.12 kB / 0.5519 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.4389, allocations: 2.5 kB / 0.5519 GB, free: 8.656 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.000125/0.439, allocations: 126.4 kB / 0.552 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.439, allocations: 12.16 kB / 0.552 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.4393, allocations: 110.8 kB / 0.5521 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4393, allocations: 1.188 kB / 0.5521 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.4393, allocations: 9.219 kB / 0.5521 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4393, allocations: 7.922 kB / 0.5521 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.4398, allocations: 388.8 kB / 0.5525 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4398, allocations: 0 / 0.5525 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.4398, allocations: 8.406 kB / 0.5525 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4398, allocations: 0 / 0.5525 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.4398, allocations: 6.188 kB / 0.5525 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4398, allocations: 1.312 kB / 0.5525 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4398, allocations: 7.875 kB / 0.5525 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.4401, allocations: 200.7 kB / 0.5527 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.4403, allocations: 91.94 kB / 0.5528 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.4403, allocations: 5.406 kB / 0.5528 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.4404, allocations: 2.812 kB / 0.5528 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.4404, allocations: 10.92 kB / 0.5528 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.4404, allocations: 6.938 kB / 0.5528 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.4405, allocations: 130 kB / 0.5529 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4405, allocations: 0 / 0.5529 GB, free: 7.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000269/0.4408, allocations: 20.53 kB / 0.553 GB, free: 7.656 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.001763/0.4426, allocations: 480.6 kB / 0.5534 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.4428, allocations: 48.45 kB / 0.5535 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4428, allocations: 0 / 0.5535 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.4428, allocations: 30.52 kB / 0.5535 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.4432, allocations: 33.77 kB / 0.5535 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.4437, allocations: 236.9 kB / 0.5537 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.444, allocations: 0.6988 MB / 0.5544 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.4441, allocations: 10.23 kB / 0.5544 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.4441, allocations: 19.55 kB / 0.5545 GB, free: 6.465 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4441, allocations: 0 / 0.5545 GB, free: 6.465 MB / 398.1 MB Notification: Performance of Templates: time 0.005816/0.4499, allocations: 1.726 MB / 0.5561 GB, free: 5.582 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.366277267225087]