Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007737/0.0007735, allocations: 89 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3222/0.3222, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.887e-05, allocations: 4 kB / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 58.85 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4278, allocations: 96.09 MB / 0.5666 GB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.428, allocations: 66.03 kB / 0.5667 GB, free: 9.605 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07835/0.5064, allocations: 29.37 MB / 0.5954 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5064, allocations: 0 / 0.5954 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.122e-05/0.5065, allocations: 32.31 kB / 0.5954 GB, free: 0.7891 MB / 410.7 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.001746/0.5082, allocations: 0.9514 MB / 0.5964 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5083, allocations: 8.031 kB / 0.5964 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.5085, allocations: 90.88 kB / 0.5964 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.5095, allocations: 0.5953 MB / 0.597 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.5096, allocations: 39.39 kB / 0.5971 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5097, allocations: 51.5 kB / 0.5971 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.5105, allocations: 0.5396 MB / 0.5976 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.5106, allocations: 11.84 kB / 0.5977 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.5106, allocations: 17.88 kB / 0.5977 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5106, allocations: 12 kB / 0.5977 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.5113, allocations: 380.3 kB / 0.598 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.5148, allocations: 2.666 MB / 0.6006 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.5154, allocations: 430.6 kB / 0.6011 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.5158, allocations: 213.5 kB / 0.6013 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.5159, allocations: 8.234 kB / 0.6013 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5159, allocations: 38.55 kB / 0.6013 GB, free: 11.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.326e-06/0.5159, allocations: 0 / 0.6013 GB, free: 11.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.001433/0.5173, allocations: 0.8143 MB / 0.6021 GB, free: 10.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.5174, allocations: 110.8 kB / 0.6022 GB, free: 10.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.5181, allocations: 0.546 MB / 0.6027 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.5181, allocations: 41.67 kB / 0.6028 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.5184, allocations: 351.8 kB / 0.6031 GB, free: 9.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.5185, allocations: 184.4 kB / 0.6033 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.5186, allocations: 7.688 kB / 0.6033 GB, free: 9.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5187, allocations: 331.5 kB / 0.6036 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.519, allocations: 204.5 kB / 0.6038 GB, free: 9.371 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.5195, allocations: 361.3 kB / 0.6042 GB, free: 9.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.5199, allocations: 251.1 kB / 0.6044 GB, free: 8.871 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5199, allocations: 4 kB / 0.6044 GB, free: 8.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009684/0.5209, allocations: 0.678 MB / 0.6051 GB, free: 8.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000708/0.5216, allocations: 1.754 MB / 0.6068 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5216, allocations: 4 kB / 0.6068 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5216, allocations: 11.95 kB / 0.6068 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.5227, allocations: 209.6 kB / 0.607 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.5227, allocations: 8 kB / 0.607 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.5233, allocations: 96.11 kB / 0.6071 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.5234, allocations: 31.06 kB / 0.6071 GB, free: 6.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.5234, allocations: 4 kB / 0.6071 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009916/0.5244, allocations: 0.5836 MB / 0.6077 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5244, allocations: 4 kB / 0.6077 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5244, allocations: 8 kB / 0.6077 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.5253, allocations: 203 kB / 0.6079 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5253, allocations: 11.94 kB / 0.6079 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.5258, allocations: 79 kB / 0.608 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.5259, allocations: 30.94 kB / 0.608 GB, free: 5.422 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001449/0.526, allocations: 137.8 kB / 0.6081 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5262, allocations: 75.06 kB / 0.6082 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.5265, allocations: 96.59 kB / 0.6083 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5265, allocations: 4 kB / 0.6083 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.5265, allocations: 0 / 0.6083 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5265, allocations: 9.297 kB / 0.6083 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.5282, allocations: 1.202 MB / 0.6095 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5282, allocations: 4 kB / 0.6095 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.5288, allocations: 111.4 kB / 0.6096 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.5289, allocations: 8.062 kB / 0.6096 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.5289, allocations: 15.42 kB / 0.6096 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5289, allocations: 4 kB / 0.6096 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5289, allocations: 3.938 kB / 0.6096 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5301, allocations: 1.037 MB / 0.6106 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.5303, allocations: 194.5 kB / 0.6108 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.5304, allocations: 19.61 kB / 0.6108 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.5309, allocations: 58.45 kB / 0.6109 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5311, allocations: 42.25 kB / 0.6109 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5311, allocations: 15.8 kB / 0.611 GB, free: 2.859 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000451/0.5316, allocations: 434.3 kB / 0.6114 GB, free: 2.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5316, allocations: 0 / 0.6114 GB, free: 2.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008059/0.5324, allocations: 232 kB / 0.6116 GB, free: 2.332 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0002796/0.5327, allocations: 152.3 kB / 0.6117 GB, free: 2.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.5339, allocations: 0.8297 MB / 0.6126 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5339, allocations: 0 / 0.6126 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.5343, allocations: 237.3 kB / 0.6128 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.5351, allocations: 164.7 kB / 0.6129 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.5372, allocations: 1.226 MB / 0.6141 GB, free: 156 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.5378, allocations: 0.9696 MB / 0.6151 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007606/0.5386, allocations: 211.2 kB / 0.6153 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.5388, allocations: 43.06 kB / 0.6153 GB, free: 14.91 MB / 442.7 MB Notification: Performance of SimCode: time 5.72e-07/0.5388, allocations: 0 / 0.6153 GB, free: 14.91 MB / 442.7 MB Notification: Performance of Templates: time 0.01488/0.5537, allocations: 8.847 MB / 0.624 GB, free: 6.129 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches