Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008644, allocations: 101.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 185.7 kB / 16.92 MB, free: 6.918 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.798/1.798, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.5238/0.5238, allocations: 43.57 MB / 315 MB, free: 8.668 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.0006486/0.0006489, allocations: 20 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2009, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002807/0.2038, allocations: 1.418 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2059, allocations: 0.773 MB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2061, allocations: 0 / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.2066, allocations: 31.89 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.207, allocations: 51.77 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.2075, allocations: 79.83 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2078, allocations: 87.7 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.208, allocations: 16.22 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2081, allocations: 39.78 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.2083, allocations: 27.84 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.2083, allocations: 4 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.2085, allocations: 32 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.2086, allocations: 19.91 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2087, allocations: 65.38 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.209, allocations: 111.9 kB / 446.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2091, allocations: 0 / 446.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2091, allocations: 0 / 446.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2091, allocations: 0 / 446.2 MB, free: 9.91 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007366/0.2098, allocations: 403.1 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2099, allocations: 15.97 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.21, allocations: 8.844 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.2103, allocations: 208 kB / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.2103, allocations: 4.375 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.2104, allocations: 8.125 kB / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.2105, allocations: 53.61 kB / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2106, allocations: 7.984 kB / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2106, allocations: 8 kB / 446.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2106, allocations: 0 / 446.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.2107, allocations: 23.92 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.2112, allocations: 280.9 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.2113, allocations: 58.61 kB / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.2114, allocations: 24.86 kB / 447.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.2115, allocations: 0 / 447.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.2117, allocations: 67.3 kB / 447.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.2117, allocations: 0 / 447.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006907/0.2124, allocations: 169.3 kB / 447.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.2125, allocations: 51.41 kB / 447.6 MB, free: 8.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.2127, allocations: 190.1 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2127, allocations: 29.7 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.2128, allocations: 104.1 kB / 447.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.2129, allocations: 19.72 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.213, allocations: 13.72 kB / 447.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2131, allocations: 326.8 kB / 448.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.2132, allocations: 23.98 kB / 448.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.2133, allocations: 37.64 kB / 448.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2134, allocations: 65.69 kB / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2134, allocations: 0 / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002266/0.2137, allocations: 97.53 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.2137, allocations: 8 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2137, allocations: 0 / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2137, allocations: 0 / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2139, allocations: 15.98 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2139, allocations: 8.031 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.214, allocations: 3.938 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.214, allocations: 4.156 kB / 448.5 MB, free: 7.383 MB / 382.1 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 0.0001511/0.2142, allocations: 133.8 kB / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.2142, allocations: 11.91 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.2143, allocations: 25 kB / 448.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2143, allocations: 0 / 448.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2143, allocations: 0 / 448.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2143, allocations: 3.938 kB / 448.7 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.215, allocations: 403.2 kB / 449.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.215, allocations: 0 / 449.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.2151, allocations: 8 kB / 449.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2151, allocations: 3.938 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2151, allocations: 7.938 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2151, allocations: 3.984 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2151, allocations: 0 / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.2154, allocations: 204.3 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.2155, allocations: 88.92 kB / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.2155, allocations: 7.938 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.2156, allocations: 7.984 kB / 449.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.2157, allocations: 4 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.2157, allocations: 4 kB / 449.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.2159, allocations: 152 kB / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2159, allocations: 0 / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.2162, allocations: 16 kB / 449.5 MB, free: 6.223 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: 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.001222/0.2174, allocations: 477 kB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2176, allocations: 55.91 kB / 450.1 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2176, allocations: 3.938 kB / 450.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.2177, allocations: 35.92 kB / 450.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2181, allocations: 31.91 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.2186, allocations: 242.8 kB / 450.4 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.219, allocations: 0.7043 MB / 451.1 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.219, allocations: 17.19 kB / 451.1 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.2191, allocations: 19.42 kB / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2191, allocations: 0 / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of Templates: time 0.005567/0.2247, allocations: 1.611 MB / 452.7 MB, free: 3.016 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches