Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.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_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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002123/0.002123, allocations: 184.6 kB / 16.41 MB, free: 5.703 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.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001103/0.001103, allocations: 78.98 kB / 270.9 MB, free: 8.391 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.5118/0.5118, allocations: 43.56 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 12 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5858, allocations: 95.95 MB / 0.5724 GB, free: 6.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5861, allocations: 72.66 kB / 0.5725 GB, free: 6.551 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1035/0.6897, allocations: 20.19 MB / 0.5922 GB, free: 2.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6897, allocations: 0 / 0.5922 GB, free: 2.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.563e-05/0.6898, allocations: 20.94 kB / 0.5922 GB, free: 2.348 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.003776/0.6936, allocations: 1.098 MB / 0.5933 GB, free: 1.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.6937, allocations: 8.031 kB / 0.5933 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.694, allocations: 94.97 kB / 0.5934 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.6959, allocations: 0.5859 MB / 0.594 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.6959, allocations: 37 kB / 0.594 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.6961, allocations: 55.91 kB / 0.5941 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.698, allocations: 0.6301 MB / 0.5947 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.6981, allocations: 3.984 kB / 0.5947 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.6982, allocations: 16 kB / 0.5947 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.6982, allocations: 19.05 kB / 0.5947 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.7002, allocations: 0.4978 MB / 0.5952 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006002/0.7062, allocations: 2.669 MB / 0.5978 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.7085, allocations: 0.5898 MB / 0.5984 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.7086, allocations: 4.062 kB / 0.5984 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.7087, allocations: 46.59 kB / 0.5984 GB, free: 11.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.536e-06/0.7087, allocations: 0 / 0.5984 GB, free: 11.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.004487/0.7132, allocations: 1.202 MB / 0.5996 GB, free: 10.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7133, allocations: 140.5 kB / 0.5997 GB, free: 10.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.7147, allocations: 0.5817 MB / 0.6003 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.7148, allocations: 37.7 kB / 0.6003 GB, free: 9.707 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.7152, allocations: 366.5 kB / 0.6007 GB, free: 9.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.7154, allocations: 173.5 kB / 0.6009 GB, free: 9.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.7155, allocations: 12 kB / 0.6009 GB, free: 9.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7156, allocations: 334.8 kB / 0.6012 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7168, allocations: 285.1 kB / 0.6015 GB, free: 8.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.7181, allocations: 437.2 kB / 0.6019 GB, free: 8.047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.7194, allocations: 321.2 kB / 0.6022 GB, free: 7.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7194, allocations: 0 / 0.6022 GB, free: 7.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003043/0.7225, allocations: 0.8125 MB / 0.603 GB, free: 6.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006933/0.7232, allocations: 1.742 MB / 0.6047 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.7232, allocations: 8 kB / 0.6047 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.7236, allocations: 52.81 kB / 0.6047 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.7255, allocations: 211.7 kB / 0.6049 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.7276, allocations: 1.518 MB / 0.6064 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.7288, allocations: 95.83 kB / 0.6065 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.7289, allocations: 24 kB / 0.6065 GB, free: 2.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7289, allocations: 4 kB / 0.6065 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/0.7316, allocations: 0.7402 MB / 0.6073 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.7317, allocations: 4 kB / 0.6073 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.7319, allocations: 64.75 kB / 0.6073 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.7337, allocations: 204.2 kB / 0.6075 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.7337, allocations: 11.94 kB / 0.6075 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.7344, allocations: 71.66 kB / 0.6076 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.7344, allocations: 24 kB / 0.6076 GB, free: 1.875 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 () * 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.0005918/0.735, allocations: 290.1 kB / 0.6079 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.7353, allocations: 75.06 kB / 0.608 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.7356, allocations: 94.28 kB / 0.6081 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.7356, allocations: 4 kB / 0.6081 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7356, allocations: 4 kB / 0.6081 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.7356, allocations: 4 kB / 0.6081 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.7376, allocations: 0.8453 MB / 0.6089 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7376, allocations: 0 / 0.6089 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.739, allocations: 115.9 kB / 0.609 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.739, allocations: 4 kB / 0.609 GB, free: 392 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.7391, allocations: 15.98 kB / 0.609 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.7391, allocations: 4 kB / 0.609 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7391, allocations: 0 / 0.609 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.7429, allocations: 1.235 MB / 0.6102 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.7435, allocations: 204.2 kB / 0.6104 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.7436, allocations: 12 kB / 0.6104 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7447, allocations: 63.94 kB / 0.6105 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.7449, allocations: 43.89 kB / 0.6105 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.7449, allocations: 12 kB / 0.6106 GB, free: 14.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.7461, allocations: 463 kB / 0.611 GB, free: 14.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7461, allocations: 0 / 0.611 GB, free: 14.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001303/0.7474, allocations: 208 kB / 0.6112 GB, free: 14.1 MB / 442.7 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.000227/0.7477, allocations: 111.2 kB / 0.6113 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.7523, allocations: 1.231 MB / 0.6125 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7523, allocations: 0 / 0.6125 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.7536, allocations: 307.6 kB / 0.6128 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.7551, allocations: 179.6 kB / 0.613 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.7596, allocations: 1.764 MB / 0.6147 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/0.7604, allocations: 0.9692 MB / 0.6156 GB, free: 9.445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.7609, allocations: 51.42 kB / 0.6157 GB, free: 9.395 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7609, allocations: 0 / 0.6157 GB, free: 9.395 MB / 442.7 MB Notification: Performance of Templates: time 0.02239/0.7833, allocations: 9.846 MB / 0.6253 GB, free: 15.59 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches