Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 96.53 kB / 17 MB, free: 6.797 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.001474/0.001474, allocations: 181.7 kB / 17.89 MB, free: 6.055 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.744/1.744, allocations: 223.3 MB / 241.9 MB, free: 216 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.2719/0.2719, allocations: 44.24 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.0044/0.1718, allocations: 2.824 MB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.1753, allocations: 1.47 MB / 475.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.1758, allocations: 19.88 kB / 475.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.1765, allocations: 103.2 kB / 476 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.177, allocations: 155 kB / 476.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1782, allocations: 428.9 kB / 476.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.1793, allocations: 0.7796 MB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.1797, allocations: 185 kB / 477.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.1801, allocations: 290.5 kB / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.1806, allocations: 326.3 kB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.1807, allocations: 20 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.1808, allocations: 24 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.181, allocations: 155.4 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1811, allocations: 129.3 kB / 478.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.1817, allocations: 0.5339 MB / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1817, allocations: 0 / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1817, allocations: 3.938 kB / 479 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1817, allocations: 0 / 479 MB, free: 6.242 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.002206/0.1839, allocations: 1.053 MB / 480 MB, free: 5.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.184, allocations: 11.97 kB / 480.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.1841, allocations: 86.97 kB / 480.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/0.1851, allocations: 0.5421 MB / 480.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.1852, allocations: 37 kB / 480.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-05/0.1853, allocations: 55.95 kB / 480.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1864, allocations: 0.6213 MB / 481.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.1865, allocations: 3.938 kB / 481.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.1865, allocations: 20 kB / 481.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1866, allocations: 12 kB / 481.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1876, allocations: 0.4944 MB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.1917, allocations: 2.698 MB / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.1929, allocations: 0.5703 MB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.1935, allocations: 270.4 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.1936, allocations: 12.03 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1936, allocations: 42.5 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/0.1936, allocations: 0 / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002602/0.1962, allocations: 1.206 MB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.1963, allocations: 136.3 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/0.1973, allocations: 0.6451 MB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.1973, allocations: 37.7 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.1977, allocations: 364 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.1979, allocations: 173.5 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.1979, allocations: 12 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1981, allocations: 330 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.1987, allocations: 289.1 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.1995, allocations: 441.2 kB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.2002, allocations: 341 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2002, allocations: 4 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001689/0.2019, allocations: 0.8324 MB / 490.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.2021, allocations: 221.7 kB / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.2021, allocations: 7.984 kB / 490.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.2021, allocations: 8 kB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.2028, allocations: 155.8 kB / 490.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.2029, allocations: 15.92 kB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.2034, allocations: 83.64 kB / 490.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.2034, allocations: 31.98 kB / 490.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.2034, allocations: 10.34 kB / 490.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001434/0.2049, allocations: 0.7101 MB / 491.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2049, allocations: 8 kB / 491.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.2049, allocations: 8.531 kB / 491.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.2055, allocations: 155.8 kB / 491.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2056, allocations: 11.94 kB / 491.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.206, allocations: 91.55 kB / 491.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.2061, allocations: 20 kB / 491.8 MB, free: 8.945 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0003636/0.2064, allocations: 289.8 kB / 492.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.2066, allocations: 75.06 kB / 492.2 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.2068, allocations: 98.19 kB / 492.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2068, allocations: 4 kB / 492.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.2069, allocations: 8 kB / 492.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2069, allocations: 0 / 492.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2082, allocations: 0.8532 MB / 493.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2083, allocations: 7.938 kB / 493.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.2089, allocations: 115.9 kB / 493.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2089, allocations: 4 kB / 493.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.209, allocations: 15.98 kB / 493.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.209, allocations: 7.938 kB / 493.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.209, allocations: 0 / 493.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.211, allocations: 1.199 MB / 494.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.2113, allocations: 204.1 kB / 494.7 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.2114, allocations: 16 kB / 494.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.2119, allocations: 55.94 kB / 494.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.2121, allocations: 43.94 kB / 494.8 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.2121, allocations: 12 kB / 494.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006778/0.2128, allocations: 455 kB / 495.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2128, allocations: 0 / 495.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008098/0.2136, allocations: 196 kB / 495.4 MB, free: 5.207 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.000159/0.2138, allocations: 115.2 kB / 495.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.216, allocations: 1.015 MB / 496.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.216, allocations: 0 / 496.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.2166, allocations: 311.6 kB / 496.9 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.2178, allocations: 178.5 kB / 497 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.2208, allocations: 1.712 MB / 498.7 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009154/0.2217, allocations: 0.9537 MB / 499.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000522/0.2223, allocations: 152.7 kB / 499.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.2224, allocations: 39.44 kB / 499.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2225, allocations: 3.938 kB / 499.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of Templates: time 0.0156/0.2381, allocations: 6.561 MB / 0.4946 GB, free: 10.17 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches