Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.0009208/0.0009206, allocations: 103 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.001033/0.001033, allocations: 181.1 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.4961/0.4961, allocations: 43.58 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.0005769/0.0005768, allocations: 16.55 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1449, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004097/0.149, allocations: 3.001 MB / 446.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.1529, allocations: 1.552 MB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008393/0.1538, allocations: 23.81 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007257/0.1546, allocations: 119.2 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009703/0.1556, allocations: 159 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.1574, allocations: 479.3 kB / 448.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.1594, allocations: 0.8729 MB / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.1602, allocations: 222.4 kB / 449.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008884/0.1611, allocations: 294.4 kB / 450.1 MB, free: 5.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.1616, allocations: 350.1 kB / 450.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.12e-05/0.1617, allocations: 20 kB / 450.5 MB, free: 5.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.1618, allocations: 24 kB / 450.5 MB, free: 5.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.162, allocations: 159.3 kB / 450.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.1623, allocations: 315.5 kB / 451 MB, free: 5.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.163, allocations: 0.6925 MB / 451.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.163, allocations: 0 / 451.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.163, allocations: 0 / 451.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.163, allocations: 4 kB / 451.7 MB, free: 4.383 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00219/0.1652, allocations: 1.044 MB / 452.7 MB, free: 3.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1653, allocations: 16.03 kB / 452.7 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1654, allocations: 91.81 kB / 452.8 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.1663, allocations: 0.5701 MB / 453.4 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.1663, allocations: 37.38 kB / 453.4 MB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.1664, allocations: 48.38 kB / 453.5 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1675, allocations: 0.6372 MB / 454.1 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.1676, allocations: 11.84 kB / 454.1 MB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.1676, allocations: 16 kB / 454.1 MB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1676, allocations: 12 kB / 454.2 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1687, allocations: 0.4939 MB / 454.7 MB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3605/0.5292, allocations: 2.687 MB / 457.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.5305, allocations: 0.5784 MB / 457.9 MB, free: 39.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.531, allocations: 277.8 kB / 458.2 MB, free: 39.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.5311, allocations: 9.875 kB / 458.2 MB, free: 39.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.5311, allocations: 41.45 kB / 458.2 MB, free: 39.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.647e-06/0.5311, allocations: 0.9375 kB / 458.2 MB, free: 39.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002583/0.5337, allocations: 1.214 MB / 459.5 MB, free: 39.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.5338, allocations: 134.2 kB / 459.6 MB, free: 39.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009784/0.5348, allocations: 0.6537 MB / 460.2 MB, free: 39.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.5348, allocations: 32.64 kB / 460.3 MB, free: 39.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.5351, allocations: 366.8 kB / 460.6 MB, free: 39.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.5353, allocations: 172.2 kB / 460.8 MB, free: 39.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.5354, allocations: 66.23 kB / 460.9 MB, free: 39.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5356, allocations: 329.8 kB / 461.2 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.5362, allocations: 294.6 kB / 461.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007487/0.537, allocations: 453.9 kB / 461.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.5383, allocations: 0.7142 MB / 462.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5383, allocations: 6.5 kB / 462.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001596/0.5399, allocations: 0.8405 MB / 463.5 MB, free: 38.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.5401, allocations: 227.5 kB / 463.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5401, allocations: 3.703 kB / 463.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.5401, allocations: 8.844 kB / 463.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/0.5408, allocations: 167.2 kB / 463.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.5408, allocations: 8.953 kB / 463.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.5413, allocations: 89.38 kB / 464 MB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.5414, allocations: 29.25 kB / 464 MB, free: 38.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.5414, allocations: 5.938 kB / 464 MB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.5428, allocations: 0.7129 MB / 464.7 MB, free: 38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5428, allocations: 2.656 kB / 464.7 MB, free: 38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5428, allocations: 8.656 kB / 464.7 MB, free: 38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.5434, allocations: 151.2 kB / 464.9 MB, free: 38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.5434, allocations: 12.78 kB / 464.9 MB, free: 38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.5439, allocations: 98.38 kB / 465 MB, free: 37.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.5439, allocations: 22.69 kB / 465 MB, free: 37.96 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004067/0.5443, allocations: 294.9 kB / 465.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.5445, allocations: 74.66 kB / 465.4 MB, free: 37.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.5447, allocations: 90.52 kB / 465.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5448, allocations: 3 kB / 465.5 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.5448, allocations: 6.812 kB / 465.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5448, allocations: 3.047 kB / 465.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.546, allocations: 0.863 MB / 466.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.546, allocations: 0 / 466.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.5466, allocations: 116.6 kB / 466.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5466, allocations: 7.938 kB / 466.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.5467, allocations: 15.62 kB / 466.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5467, allocations: 4.219 kB / 466.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5467, allocations: 0 / 466.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.5489, allocations: 1.21 MB / 467.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.5491, allocations: 194.5 kB / 467.9 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.5492, allocations: 17.06 kB / 467.9 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.5497, allocations: 64.33 kB / 467.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.5499, allocations: 37.16 kB / 468 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.5499, allocations: 11.38 kB / 468 MB, free: 36.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006325/0.5505, allocations: 466.2 kB / 468.5 MB, free: 36.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5505, allocations: 0 / 468.5 MB, free: 36.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008029/0.5514, allocations: 200.6 kB / 468.6 MB, free: 36.81 MB / 382.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 (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.0001587/0.5515, allocations: 119 kB / 468.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.5536, allocations: 1.019 MB / 469.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5536, allocations: 0 / 469.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.5542, allocations: 305.3 kB / 470.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.5553, allocations: 180.9 kB / 470.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.5579, allocations: 1.806 MB / 472.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.5584, allocations: 0.9483 MB / 473 MB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005046/0.5589, allocations: 148 kB / 473.2 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.559, allocations: 45.33 kB / 473.2 MB, free: 35.06 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.559, allocations: 0 / 473.2 MB, free: 35.06 MB / 382.1 MB Notification: Performance of Templates: time 0.01388/0.5729, allocations: 6.788 MB / 480 MB, free: 34.67 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches