Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001187, 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.313/1.313, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.00106/0.00106, allocations: 94.12 kB / 291.9 MB, free: 10.95 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.3422/0.3422, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 55.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4218, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003292/0.4251, allocations: 1.762 MB / 0.5081 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.4266, allocations: 0.8612 MB / 0.509 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.4267, allocations: 1.219 kB / 0.509 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.4271, allocations: 42.05 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.4273, allocations: 51.92 kB / 0.5091 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.4276, allocations: 87.58 kB / 0.5091 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.4278, allocations: 98.48 kB / 0.5092 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.4279, allocations: 10.08 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.428, allocations: 43.77 kB / 0.5093 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.4281, allocations: 33.73 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.4281, allocations: 0 / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.843e-05/0.4282, allocations: 45.23 kB / 0.5094 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.4283, allocations: 17.16 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.4284, allocations: 36.3 kB / 0.5094 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.4286, allocations: 111.7 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4286, allocations: 2.719 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4286, allocations: 0 / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4286, allocations: 0 / 0.5095 GB, free: 36.2 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005316/0.4291, allocations: 410 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4292, allocations: 9.094 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.4292, allocations: 21.81 kB / 0.5099 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.4294, allocations: 210 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4295, allocations: 384 / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.4295, allocations: 7.062 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.4296, allocations: 65.53 kB / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4297, allocations: 0 / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4297, allocations: 0 / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4297, allocations: 0 / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.4298, allocations: 18.33 kB / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.4301, allocations: 292 kB / 0.5105 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.4303, allocations: 60.23 kB / 0.5106 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.4303, allocations: 20.75 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4304, allocations: 0 / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.4306, allocations: 68.5 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4306, allocations: 0 / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.4311, allocations: 181.5 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4312, allocations: 51.41 kB / 0.5109 GB, free: 34.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4313, allocations: 201.3 kB / 0.5111 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.4314, allocations: 28.33 kB / 0.5111 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.4314, allocations: 105.1 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.4314, allocations: 26.06 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.4315, allocations: 25.53 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.4316, allocations: 332.4 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.4316, allocations: 14.31 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.4317, allocations: 38.8 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.953e-05/0.4318, allocations: 59.05 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4318, allocations: 4 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.432, allocations: 102.4 kB / 0.5118 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.432, allocations: 5.531 kB / 0.5118 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.432, allocations: 0 / 0.5118 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.432, allocations: 6.531 kB / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.4321, allocations: 16.64 kB / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4321, allocations: 0 / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.4322, allocations: 10.5 kB / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.4322, allocations: 2.5 kB / 0.5118 GB, free: 34.18 MB / 378.7 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 7.894e-05/0.4323, allocations: 132.7 kB / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.4323, allocations: 17.25 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.4323, allocations: 21.75 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4323, allocations: 0 / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4324, allocations: 0 / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4324, allocations: 6.469 kB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.4327, allocations: 386.6 kB / 0.5123 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4327, allocations: 4.031 kB / 0.5123 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.4327, allocations: 11.97 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4328, allocations: 0 / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4328, allocations: 6.781 kB / 0.5124 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4328, allocations: 0 / 0.5124 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4328, allocations: 80 / 0.5124 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.4332, allocations: 0.7981 MB / 0.5131 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.4332, allocations: 84.02 kB / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.4333, allocations: 0 / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.4333, allocations: 3.219 kB / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.4334, allocations: 5.828 kB / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4334, allocations: 6.594 kB / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.4335, allocations: 149.8 kB / 0.5134 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4335, allocations: 0 / 0.5134 GB, free: 32.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003543/0.4339, allocations: 31.16 kB / 0.5134 GB, free: 32.7 MB / 378.7 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.001061/0.435, allocations: 475.6 kB / 0.5139 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4352, allocations: 57.73 kB / 0.5139 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4352, allocations: 0 / 0.5139 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.4353, allocations: 31.7 kB / 0.5139 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4356, allocations: 30.88 kB / 0.514 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.4362, allocations: 375.2 kB / 0.5143 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.4364, allocations: 0.7071 MB / 0.515 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.4364, allocations: 18.81 kB / 0.515 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.4365, allocations: 17.09 kB / 0.5151 GB, free: 31.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4365, allocations: 0 / 0.5151 GB, free: 31.41 MB / 378.7 MB Notification: Performance of Templates: time 0.004406/0.4409, allocations: 1.681 MB / 0.5167 GB, free: 31.22 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches