Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 97.59 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 194.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5207/0.5207, allocations: 43.49 MB / 313.6 MB, free: 8.477 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001874, allocations: 67.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1906, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.005339/0.196, allocations: 1.85 MB / 441.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1984, allocations: 0.8664 MB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.1987, allocations: 0 / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.1995, allocations: 291.4 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005871/0.2001, allocations: 195.5 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.2007, allocations: 131.7 kB / 443.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.2012, allocations: 235.4 kB / 443.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.2013, allocations: 25.52 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2016, allocations: 131.5 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.2019, allocations: 196 kB / 443.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.202, allocations: 4 kB / 443.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.2022, allocations: 47.97 kB / 444 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.2024, allocations: 132.6 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.2026, allocations: 146.8 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.2032, allocations: 358.9 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.2032, allocations: 0 / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2032, allocations: 0 / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.2032, allocations: 4 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001139/0.2044, allocations: 0.7191 MB / 445.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.2045, allocations: 11.89 kB / 445.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.2046, allocations: 48.31 kB / 445.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.2052, allocations: 439.9 kB / 445.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2052, allocations: 4.359 kB / 445.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.2052, allocations: 8.125 kB / 445.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.2054, allocations: 87.36 kB / 445.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2054, allocations: 0 / 445.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2055, allocations: 0 / 445.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2055, allocations: 4 kB / 445.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.2056, allocations: 31.92 kB / 445.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.2061, allocations: 374.2 kB / 446.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.2064, allocations: 105.2 kB / 446.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.199e-05/0.2065, allocations: 41.64 kB / 446.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.2065, allocations: 7.922 kB / 446.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.2068, allocations: 109.1 kB / 446.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2068, allocations: 0 / 446.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005098/0.2073, allocations: 189 kB / 446.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.2074, allocations: 81.11 kB / 446.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.2084, allocations: 1.011 MB / 447.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2085, allocations: 33.69 kB / 447.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2087, allocations: 232 kB / 448.1 MB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.2087, allocations: 31.64 kB / 448.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.2088, allocations: 25.72 kB / 448.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2089, allocations: 362.8 kB / 448.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.209, allocations: 31.92 kB / 448.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.2091, allocations: 63.41 kB / 448.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.2093, allocations: 91.86 kB / 448.7 MB, free: 5.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2093, allocations: 0 / 448.7 MB, free: 5.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.2096, allocations: 165 kB / 448.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2096, allocations: 4 kB / 448.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2096, allocations: 8.062 kB / 448.8 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2097, allocations: 0 / 448.8 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.2098, allocations: 27.92 kB / 448.9 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2098, allocations: 3.938 kB / 448.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2099, allocations: 11.91 kB / 448.9 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2099, allocations: 7.984 kB / 448.9 MB, free: 5.535 MB / 382.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002531/0.2102, allocations: 221.7 kB / 449.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.2103, allocations: 55.33 kB / 449.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2104, allocations: 59.84 kB / 449.2 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2104, allocations: 4 kB / 449.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.2104, allocations: 0 / 449.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.2104, allocations: 3.984 kB / 449.2 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.2108, allocations: 337.3 kB / 449.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2108, allocations: 0 / 449.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.2109, allocations: 15.94 kB / 449.6 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2109, allocations: 0 / 449.6 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2109, allocations: 7.984 kB / 449.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2109, allocations: 0 / 449.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2109, allocations: 0 / 449.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.2112, allocations: 201.4 kB / 449.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.2114, allocations: 140.4 kB / 449.9 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.2115, allocations: 8 kB / 449.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.2115, allocations: 3.984 kB / 449.9 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.2116, allocations: 8 kB / 449.9 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.2116, allocations: 7.984 kB / 449.9 MB, free: 4.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008168/0.2124, allocations: 0.7526 MB / 450.7 MB, free: 3.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2125, allocations: 96 / 450.7 MB, free: 3.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.2127, allocations: 43.94 kB / 450.7 MB, free: 3.59 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001012/0.2137, allocations: 415.8 kB / 451.1 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.214, allocations: 91.95 kB / 451.2 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.214, allocations: 0 / 451.2 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.954e-05/0.2142, allocations: 44.34 kB / 451.3 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.2146, allocations: 81.92 kB / 451.4 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2161, allocations: 0.9329 MB / 452.3 MB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.2166, allocations: 0.8388 MB / 453.1 MB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.2168, allocations: 50.95 kB / 453.2 MB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.2169, allocations: 31.42 kB / 453.2 MB, free: 1.094 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2169, allocations: 4 kB / 453.2 MB, free: 1.09 MB / 382.1 MB Notification: Performance of Templates: time 0.2723/0.4892, allocations: 3.602 MB / 456.8 MB, free: 48.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches