Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001822/0.001822, 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.002123/0.002123, allocations: 194.7 kB / 22.98 MB, free: 5.59 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.586/1.586, allocations: 225.6 MB / 251.6 MB, free: 13.31 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.231/0.231, 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 63.91 kB / 495.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4075, allocations: 64.26 MB / 0.5465 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004673/0.4121, allocations: 1.735 MB / 0.5482 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.4139, allocations: 0.8911 MB / 0.549 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.414, allocations: 1.125 kB / 0.549 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.4144, allocations: 39.17 kB / 0.5491 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.4146, allocations: 57.58 kB / 0.5491 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.415, allocations: 107.5 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.4152, allocations: 106.1 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.4153, allocations: 3.266 kB / 0.5493 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.4154, allocations: 40.83 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.4155, allocations: 34.03 kB / 0.5494 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.4155, allocations: 2.438 kB / 0.5494 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4156, allocations: 46.97 kB / 0.5495 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.4157, allocations: 18.98 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.4158, allocations: 34.84 kB / 0.5495 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.416, allocations: 118.5 kB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.416, allocations: 1.562 kB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.416, allocations: 0 / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.416, allocations: 0 / 0.5496 GB, free: 10.74 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.0006859/0.4167, allocations: 416 kB / 0.55 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4168, allocations: 8.812 kB / 0.55 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.4168, allocations: 9.359 kB / 0.55 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4172, allocations: 208.4 kB / 0.5502 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4172, allocations: 9.469 kB / 0.5502 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.4172, allocations: 15.19 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.4174, allocations: 53.48 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4174, allocations: 0 / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4174, allocations: 1.188 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4174, allocations: 0.9688 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.979e-05/0.4175, allocations: 18.33 kB / 0.5503 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.418, allocations: 290.3 kB / 0.5506 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.4182, allocations: 60.89 kB / 0.5507 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.4182, allocations: 15.89 kB / 0.5507 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.4182, allocations: 0.5938 kB / 0.5507 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.4184, allocations: 68.88 kB / 0.5507 GB, free: 9.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4184, allocations: 1.094 kB / 0.5507 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006555/0.4191, allocations: 181.4 kB / 0.5509 GB, free: 9.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.4192, allocations: 52.91 kB / 0.551 GB, free: 9.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.4194, allocations: 186.9 kB / 0.5511 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.4194, allocations: 26.89 kB / 0.5512 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.4195, allocations: 100.9 kB / 0.5513 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.4195, allocations: 23.52 kB / 0.5513 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.4196, allocations: 25.36 kB / 0.5513 GB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4197, allocations: 333.8 kB / 0.5516 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.4198, allocations: 18.91 kB / 0.5517 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.4199, allocations: 39.58 kB / 0.5517 GB, free: 8.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.42, allocations: 58.42 kB / 0.5517 GB, free: 8.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.42, allocations: 1.188 kB / 0.5517 GB, free: 8.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.4202, allocations: 99.62 kB / 0.5518 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4202, allocations: 12.27 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4202, allocations: 1.312 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.4202, allocations: 1.312 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4203, allocations: 16.75 kB / 0.5519 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4203, allocations: 1.281 kB / 0.5519 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.4204, allocations: 9.484 kB / 0.5519 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4204, allocations: 2.719 kB / 0.5519 GB, free: 8.594 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.0001178/0.4205, allocations: 131.3 kB / 0.552 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.4205, allocations: 17.34 kB / 0.552 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.4208, allocations: 110.8 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4208, allocations: 1.219 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4208, allocations: 1.25 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4208, allocations: 3.938 kB / 0.5521 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.4213, allocations: 397.8 kB / 0.5525 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4213, allocations: 3.984 kB / 0.5525 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.4213, allocations: 12.16 kB / 0.5525 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4213, allocations: 5.25 kB / 0.5525 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4214, allocations: 5.094 kB / 0.5525 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4214, allocations: 1.25 kB / 0.5525 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4214, allocations: 0 / 0.5525 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.4216, allocations: 196.6 kB / 0.5527 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.4217, allocations: 91.59 kB / 0.5528 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4217, allocations: 6.156 kB / 0.5528 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.4218, allocations: 10.12 kB / 0.5528 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.4218, allocations: 7.078 kB / 0.5528 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4218, allocations: 3.188 kB / 0.5528 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.422, allocations: 142 kB / 0.553 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.422, allocations: 0 / 0.553 GB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.4222, allocations: 28.48 kB / 0.553 GB, free: 7.574 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.001675/0.4239, allocations: 476.5 kB / 0.5535 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.4241, allocations: 48.92 kB / 0.5535 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4241, allocations: 3.938 kB / 0.5535 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.191e-05/0.4242, allocations: 23.05 kB / 0.5535 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4246, allocations: 43.73 kB / 0.5536 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.4251, allocations: 230.4 kB / 0.5538 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.4254, allocations: 0.7079 MB / 0.5545 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.4255, allocations: 22.89 kB / 0.5545 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.4255, allocations: 19.16 kB / 0.5545 GB, free: 6.375 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4255, allocations: 0 / 0.5545 GB, free: 6.375 MB / 398.1 MB Notification: Performance of Templates: time 0.005357/0.4309, allocations: 1.727 MB / 0.5562 GB, free: 5.492 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.398069145157933]