Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001758/0.001758, 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.001942/0.001942, allocations: 186.4 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.482/1.482, 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.2479/0.2479, allocations: 44.91 MB / 353.5 MB, free: 11.8 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.Test78,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.88 kB / 497.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.414, allocations: 64.3 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004175/0.4182, allocations: 1.902 MB / 0.5508 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.4203, allocations: 1.012 MB / 0.5517 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.4204, allocations: 6.594 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.421, allocations: 258 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.4214, allocations: 187.9 kB / 0.5522 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.422, allocations: 183.3 kB / 0.5524 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.4224, allocations: 262.4 kB / 0.5526 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.4225, allocations: 26.02 kB / 0.5526 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.4227, allocations: 137.5 kB / 0.5528 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.423, allocations: 198.2 kB / 0.5529 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.4231, allocations: 7.844 kB / 0.553 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.4232, allocations: 64.97 kB / 0.553 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.4233, allocations: 73.83 kB / 0.5531 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.4235, allocations: 89.89 kB / 0.5532 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.4239, allocations: 246.7 kB / 0.5534 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4239, allocations: 1.094 kB / 0.5534 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4239, allocations: 0 / 0.5534 GB, free: 9.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.4239, allocations: 0 / 0.5534 GB, free: 9.848 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009165/0.4248, allocations: 0.5029 MB / 0.5539 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4249, allocations: 9.031 kB / 0.5539 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.425, allocations: 30.16 kB / 0.5539 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.4254, allocations: 232.5 kB / 0.5542 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.4255, allocations: 10.97 kB / 0.5542 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.4255, allocations: 16.95 kB / 0.5542 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.4258, allocations: 107.8 kB / 0.5543 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.4258, allocations: 5.016 kB / 0.5543 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4258, allocations: 5.094 kB / 0.5543 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4258, allocations: 2.25 kB / 0.5543 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.426, allocations: 44.72 kB / 0.5543 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.4267, allocations: 446.5 kB / 0.5548 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.4271, allocations: 126.9 kB / 0.5549 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4272, allocations: 38.42 kB / 0.5549 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4273, allocations: 2.219 kB / 0.5549 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.4276, allocations: 120.5 kB / 0.555 GB, free: 8.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.4276, allocations: 4 kB / 0.555 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001543/0.4291, allocations: 0.5041 MB / 0.5555 GB, free: 8.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.4292, allocations: 83.7 kB / 0.5556 GB, free: 8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.4299, allocations: 483.9 kB / 0.5561 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.4299, allocations: 31.86 kB / 0.5561 GB, free: 7.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.4301, allocations: 161 kB / 0.5563 GB, free: 7.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.4302, allocations: 77.58 kB / 0.5563 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.4302, allocations: 38.19 kB / 0.5564 GB, free: 7.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.4305, allocations: 348.8 kB / 0.5567 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.4306, allocations: 57.47 kB / 0.5568 GB, free: 7.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4308, allocations: 89.34 kB / 0.5568 GB, free: 7.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.4311, allocations: 167.4 kB / 0.557 GB, free: 6.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4311, allocations: 4 kB / 0.557 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004634/0.4316, allocations: 229.3 kB / 0.5572 GB, free: 6.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4316, allocations: 7.938 kB / 0.5572 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4316, allocations: 4 kB / 0.5572 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.4316, allocations: 0 / 0.5572 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4318, allocations: 51.97 kB / 0.5573 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4318, allocations: 0 / 0.5573 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.4319, allocations: 12 kB / 0.5573 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.4319, allocations: 8 kB / 0.5573 GB, free: 6.531 MB / 398.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.0002099/0.4321, allocations: 186.1 kB / 0.5575 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.4322, allocations: 43.64 kB / 0.5575 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005715/0.4328, allocations: 265.2 kB / 0.5578 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4328, allocations: 4 kB / 0.5578 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4328, allocations: 0 / 0.5578 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4328, allocations: 4 kB / 0.5578 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.4339, allocations: 0.6991 MB / 0.5585 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4339, allocations: 7.984 kB / 0.5585 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.434, allocations: 32.06 kB / 0.5585 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.434, allocations: 4 kB / 0.5585 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.434, allocations: 7.984 kB / 0.5585 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.434, allocations: 4 kB / 0.5585 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.434, allocations: 0 / 0.5585 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.4345, allocations: 429.8 kB / 0.5589 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.4346, allocations: 31.77 kB / 0.559 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.4346, allocations: 8 kB / 0.559 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4348, allocations: 7.984 kB / 0.559 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.4348, allocations: 23.91 kB / 0.559 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.4349, allocations: 8 kB / 0.559 GB, free: 4.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004127/0.4353, allocations: 371.1 kB / 0.5594 GB, free: 4.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4353, allocations: 4 kB / 0.5594 GB, free: 4.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.4357, allocations: 47.94 kB / 0.5594 GB, free: 4.27 MB / 398.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.002105/0.4378, allocations: 0.5213 MB / 0.5599 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.4382, allocations: 153.5 kB / 0.5601 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4382, allocations: 4.125 kB / 0.5601 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.4383, allocations: 67.86 kB / 0.5601 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.4389, allocations: 60.84 kB / 0.5602 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.4401, allocations: 0.5785 MB / 0.5608 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.4406, allocations: 0.7823 MB / 0.5615 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.4408, allocations: 41.91 kB / 0.5616 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.4409, allocations: 35.8 kB / 0.5616 GB, free: 2.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4409, allocations: 0 / 0.5616 GB, free: 2.18 MB / 398.1 MB Notification: Performance of Templates: time 0.008823/0.4497, allocations: 3.254 MB / 0.5648 GB, free: 14.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.540060430765152]