Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, 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.272/1.272, 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.001038/0.001038, allocations: 101.5 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.3777/0.3777, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.92 kB / 457.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.423, allocations: 60.81 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003184/0.4263, allocations: 1.753 MB / 0.5081 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.4276, allocations: 0.8713 MB / 0.509 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.4276, allocations: 0 / 0.509 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.428, allocations: 76.69 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.4282, allocations: 59.95 kB / 0.5091 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.4285, allocations: 99.92 kB / 0.5092 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.4287, allocations: 107.8 kB / 0.5093 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4288, allocations: 11.42 kB / 0.5093 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.4289, allocations: 49.7 kB / 0.5094 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.429, allocations: 58.41 kB / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.429, allocations: 2.719 kB / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.4291, allocations: 34.42 kB / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.4292, allocations: 23.06 kB / 0.5095 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.4292, allocations: 36.55 kB / 0.5095 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.4294, allocations: 113.2 kB / 0.5096 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4294, allocations: 6.906 kB / 0.5096 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4294, allocations: 0 / 0.5096 GB, free: 36.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.4294, allocations: 0 / 0.5096 GB, free: 36.36 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.0005169/0.43, allocations: 420.5 kB / 0.51 GB, free: 35.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.43, allocations: 15.47 kB / 0.51 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.4301, allocations: 7.75 kB / 0.51 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.4303, allocations: 211.6 kB / 0.5102 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4303, allocations: 7.188 kB / 0.5102 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.4303, allocations: 8.125 kB / 0.5103 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4305, allocations: 54.3 kB / 0.5103 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4305, allocations: 3.328 kB / 0.5103 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4305, allocations: 0 / 0.5103 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4305, allocations: 0 / 0.5103 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.4306, allocations: 22.61 kB / 0.5103 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.4309, allocations: 294 kB / 0.5106 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.4311, allocations: 57.88 kB / 0.5107 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.4311, allocations: 21.36 kB / 0.5107 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.4312, allocations: 7.109 kB / 0.5107 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.4314, allocations: 71.23 kB / 0.5108 GB, free: 35.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4314, allocations: 0 / 0.5108 GB, free: 35.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005008/0.4319, allocations: 174.2 kB / 0.5109 GB, free: 35.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.4319, allocations: 54.19 kB / 0.511 GB, free: 35.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4321, allocations: 210.2 kB / 0.5112 GB, free: 34.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.4321, allocations: 28.64 kB / 0.5112 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.4322, allocations: 109.3 kB / 0.5113 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.4322, allocations: 21.88 kB / 0.5113 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.4322, allocations: 25.69 kB / 0.5114 GB, free: 34.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.4323, allocations: 324.7 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.4324, allocations: 29.38 kB / 0.5117 GB, free: 34.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.4324, allocations: 35.16 kB / 0.5117 GB, free: 34.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.4325, allocations: 66.41 kB / 0.5118 GB, free: 34.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4325, allocations: 2.812 kB / 0.5118 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.4327, allocations: 102.8 kB / 0.5119 GB, free: 34.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4327, allocations: 2.719 kB / 0.5119 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4327, allocations: 6.531 kB / 0.5119 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4328, allocations: 0 / 0.5119 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.4328, allocations: 20.78 kB / 0.5119 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4329, allocations: 0 / 0.5119 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.4329, allocations: 10.78 kB / 0.5119 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4329, allocations: 2.781 kB / 0.5119 GB, free: 34.32 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.575e-05/0.433, allocations: 124.5 kB / 0.5121 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.433, allocations: 13.44 kB / 0.5121 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.4331, allocations: 26.45 kB / 0.5121 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4331, allocations: 0 / 0.5121 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4331, allocations: 2.812 kB / 0.5121 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4331, allocations: 3.938 kB / 0.5121 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.4334, allocations: 392.4 kB / 0.5125 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4335, allocations: 0 / 0.5125 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.4335, allocations: 11.58 kB / 0.5125 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4335, allocations: 0 / 0.5125 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4335, allocations: 10.44 kB / 0.5125 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4335, allocations: 3.938 kB / 0.5125 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4335, allocations: 0 / 0.5125 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.4339, allocations: 0.7867 MB / 0.5133 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.434, allocations: 83.73 kB / 0.5133 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.434, allocations: 4 kB / 0.5133 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.4341, allocations: 10 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.4341, allocations: 6.719 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4341, allocations: 8.953 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.4342, allocations: 152.8 kB / 0.5135 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4342, allocations: 0 / 0.5135 GB, free: 32.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.4346, allocations: 27.53 kB / 0.5135 GB, free: 32.85 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.001017/0.4356, allocations: 481.5 kB / 0.514 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.4358, allocations: 61.3 kB / 0.5141 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4358, allocations: 0 / 0.5141 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.4358, allocations: 34.11 kB / 0.5141 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4362, allocations: 30.5 kB / 0.5141 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.4367, allocations: 397 kB / 0.5145 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.4368, allocations: 0.711 MB / 0.5152 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.105e-05/0.4369, allocations: 16.81 kB / 0.5152 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.4369, allocations: 15.97 kB / 0.5152 GB, free: 31.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4369, allocations: 0 / 0.5152 GB, free: 31.54 MB / 378.7 MB Notification: Performance of Templates: time 0.00407/0.441, allocations: 1.682 MB / 0.5169 GB, free: 31.35 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches