Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.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 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 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) 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.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 95.14 kB / 16.98 MB, free: 5.938 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.0009247/0.0009251, allocations: 186.2 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2517/0.2517, allocations: 44.22 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004124/0.1699, allocations: 2.821 MB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.1732, allocations: 1.454 MB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.1737, allocations: 19.88 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.1742, allocations: 87.39 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.1747, allocations: 195.3 kB / 476 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1759, allocations: 412.4 kB / 476.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009324/0.1768, allocations: 0.5697 MB / 477 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.1772, allocations: 177 kB / 477.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.1777, allocations: 306.7 kB / 477.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.1782, allocations: 318.4 kB / 477.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.1782, allocations: 24 kB / 477.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.1783, allocations: 20 kB / 477.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1785, allocations: 147.4 kB / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1786, allocations: 133.3 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.1792, allocations: 0.5338 MB / 478.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1792, allocations: 0 / 478.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1792, allocations: 0 / 478.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.1792, allocations: 0 / 478.6 MB, free: 6.531 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002239/0.1814, allocations: 1.059 MB / 479.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1815, allocations: 8.031 kB / 479.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1817, allocations: 86.97 kB / 479.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.1826, allocations: 0.5343 MB / 480.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.1827, allocations: 37 kB / 480.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1828, allocations: 59.95 kB / 480.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1839, allocations: 0.6174 MB / 481 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1839, allocations: 4 kB / 481 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.184, allocations: 20 kB / 481 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.184, allocations: 15.94 kB / 481.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1851, allocations: 0.4944 MB / 481.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.1889, allocations: 2.651 MB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.1902, allocations: 0.5858 MB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/0.1903, allocations: 8 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.1904, allocations: 34.56 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.1904, allocations: 0 / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002792/0.1932, allocations: 1.203 MB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1933, allocations: 136.5 kB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.1942, allocations: 0.649 MB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.1943, allocations: 33.7 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.1946, allocations: 360 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.1948, allocations: 177.4 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1949, allocations: 12 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1951, allocations: 330 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.1957, allocations: 281.1 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.1965, allocations: 445 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.1972, allocations: 317.2 kB / 488.7 MB, free: 12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1972, allocations: 3.953 kB / 488.7 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001908/0.1991, allocations: 0.8647 MB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001089/0.2002, allocations: 1.74 MB / 491.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.2002, allocations: 11.95 kB / 491.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.2005, allocations: 56.81 kB / 491.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009344/0.2015, allocations: 207.7 kB / 491.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2031, allocations: 1.514 MB / 493.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.2037, allocations: 91.73 kB / 493.2 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.2038, allocations: 24 kB / 493.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2038, allocations: 7.984 kB / 493.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001568/0.2053, allocations: 0.7386 MB / 494 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2054, allocations: 4 kB / 494 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.2056, allocations: 60.81 kB / 494 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.2064, allocations: 196 kB / 494.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.208, allocations: 1.522 MB / 495.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/0.2086, allocations: 75.64 kB / 495.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.2087, allocations: 28.19 kB / 495.9 MB, free: 4.453 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005444/0.2092, allocations: 288.8 kB / 496.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.2094, allocations: 79 kB / 496.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.2096, allocations: 94.14 kB / 496.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2096, allocations: 8 kB / 496.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2097, allocations: 3.953 kB / 496.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2097, allocations: 0 / 496.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.2112, allocations: 0.8687 MB / 497.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2112, allocations: 0 / 497.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.2119, allocations: 123.8 kB / 497.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2119, allocations: 0 / 497.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.2119, allocations: 15.95 kB / 497.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2119, allocations: 0 / 497.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2119, allocations: 3.984 kB / 497.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.214, allocations: 1.219 MB / 498.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.2143, allocations: 196.2 kB / 498.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.2144, allocations: 12 kB / 498.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.2149, allocations: 63.94 kB / 498.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2151, allocations: 43.88 kB / 498.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.2151, allocations: 12 kB / 498.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007392/0.2158, allocations: 459 kB / 499.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2159, allocations: 0 / 499.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009149/0.2168, allocations: 196 kB / 499.5 MB, free: 0.6797 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.217, allocations: 107.2 kB / 499.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.2198, allocations: 1.248 MB / 0.4891 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2198, allocations: 0 / 0.4891 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.2205, allocations: 306.5 kB / 0.4894 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.2215, allocations: 166.2 kB / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.2247, allocations: 1.735 MB / 0.4913 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/0.2255, allocations: 0.9731 MB / 0.4922 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005761/0.226, allocations: 140.8 kB / 0.4924 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.2262, allocations: 47.42 kB / 0.4924 GB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.693e-06/0.2262, allocations: 0 / 0.4924 GB, free: 11.88 MB / 382.1 MB Notification: Performance of Templates: time 0.01588/0.2421, allocations: 7.317 MB / 0.4995 GB, free: 4.625 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches