Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 101.4 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4187/0.4187, allocations: 44.12 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 59.91 kB / 457.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4212, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003134/0.4244, allocations: 1.938 MB / 0.5083 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.4258, allocations: 0.9731 MB / 0.5092 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.426, allocations: 6.844 kB / 0.5092 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.4264, allocations: 254.3 kB / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.4267, allocations: 162.7 kB / 0.5096 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.4271, allocations: 161.2 kB / 0.5098 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.4273, allocations: 251.5 kB / 0.51 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4274, allocations: 30.94 kB / 0.5101 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.4276, allocations: 123.1 kB / 0.5102 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.4278, allocations: 181.9 kB / 0.5104 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.4278, allocations: 2.781 kB / 0.5104 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.428, allocations: 65.03 kB / 0.5104 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.428, allocations: 65.36 kB / 0.5105 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.807e-05/0.4281, allocations: 90.94 kB / 0.5106 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4284, allocations: 229.7 kB / 0.5108 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4284, allocations: 4 kB / 0.5108 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4284, allocations: 0 / 0.5108 GB, free: 35.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4284, allocations: 3.938 kB / 0.5108 GB, free: 35.59 MB / 378.7 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.0006439/0.4291, allocations: 0.562 MB / 0.5113 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4291, allocations: 12.11 kB / 0.5114 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.4292, allocations: 31.06 kB / 0.5114 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.4295, allocations: 280.3 kB / 0.5117 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.4295, allocations: 2.844 kB / 0.5117 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.4295, allocations: 13.91 kB / 0.5117 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.4298, allocations: 110.5 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4298, allocations: 11.84 kB / 0.5118 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.4298, allocations: 6.906 kB / 0.5118 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.4298, allocations: 0 / 0.5118 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.43, allocations: 47.56 kB / 0.5118 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.4306, allocations: 481.6 kB / 0.5123 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.431, allocations: 119.3 kB / 0.5124 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4311, allocations: 45.3 kB / 0.5125 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.4311, allocations: 7.516 kB / 0.5125 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.4315, allocations: 121.9 kB / 0.5126 GB, free: 34.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.4315, allocations: 0 / 0.5126 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001483/0.433, allocations: 0.5017 MB / 0.5131 GB, free: 33.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.4331, allocations: 83.86 kB / 0.5132 GB, free: 33.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.4336, allocations: 487.2 kB / 0.5136 GB, free: 33.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.4336, allocations: 34.59 kB / 0.5136 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4338, allocations: 166.4 kB / 0.5138 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.4339, allocations: 66.55 kB / 0.5139 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.4339, allocations: 39.61 kB / 0.5139 GB, free: 33.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4341, allocations: 348.8 kB / 0.5142 GB, free: 33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4342, allocations: 57.09 kB / 0.5143 GB, free: 32.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4344, allocations: 100.1 kB / 0.5144 GB, free: 32.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.4347, allocations: 156.4 kB / 0.5145 GB, free: 32.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4347, allocations: 3.062 kB / 0.5145 GB, free: 32.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003932/0.4351, allocations: 229.8 kB / 0.5148 GB, free: 32.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4351, allocations: 13.38 kB / 0.5148 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4351, allocations: 2.594 kB / 0.5148 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.4352, allocations: 2.5 kB / 0.5148 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4353, allocations: 41.58 kB / 0.5148 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4353, allocations: 0 / 0.5148 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.4354, allocations: 13.31 kB / 0.5148 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.4354, allocations: 16.78 kB / 0.5148 GB, free: 32.69 MB / 378.7 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.0002161/0.4357, allocations: 172.8 kB / 0.515 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4357, allocations: 38.31 kB / 0.515 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.631e-05/0.4358, allocations: 44.17 kB / 0.5151 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.4358, allocations: 2.688 kB / 0.5151 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4359, allocations: 0 / 0.5151 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.4359, allocations: 2.688 kB / 0.5151 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4369, allocations: 0.7426 MB / 0.5158 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.4369, allocations: 1 kB / 0.5158 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.437, allocations: 36.14 kB / 0.5159 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4371, allocations: 1.969 kB / 0.5159 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.4371, allocations: 7.016 kB / 0.5159 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4371, allocations: 1.703 kB / 0.5159 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4371, allocations: 2.828 kB / 0.5159 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4382, allocations: 1.074 MB / 0.5169 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.4382, allocations: 109.9 kB / 0.517 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.4383, allocations: 15.19 kB / 0.517 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4385, allocations: 7.531 kB / 0.517 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.4385, allocations: 20.78 kB / 0.5171 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.4386, allocations: 8.094 kB / 0.5171 GB, free: 30.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003927/0.439, allocations: 363 kB / 0.5174 GB, free: 30.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.439, allocations: 0 / 0.5174 GB, free: 30.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.4395, allocations: 51.38 kB / 0.5175 GB, free: 30.71 MB / 378.7 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.001374/0.4409, allocations: 0.5236 MB / 0.518 GB, free: 30.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.4412, allocations: 154 kB / 0.5181 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4412, allocations: 0 / 0.5181 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4414, allocations: 84.97 kB / 0.5182 GB, free: 30.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.442, allocations: 65.8 kB / 0.5183 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.4431, allocations: 0.819 MB / 0.5191 GB, free: 29.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.4434, allocations: 0.7922 MB / 0.5198 GB, free: 29.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.4435, allocations: 43.05 kB / 0.5199 GB, free: 29.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.4436, allocations: 35.92 kB / 0.5199 GB, free: 29.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4436, allocations: 0 / 0.5199 GB, free: 29.07 MB / 378.7 MB Notification: Performance of Templates: time 0.006461/0.4501, allocations: 3.074 MB / 0.5229 GB, free: 28.77 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches