Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.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_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_cpp_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_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001226, allocations: 180.2 kB / 16.41 MB, free: 5.707 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.543/1.543, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009113/0.0009115, allocations: 87.75 kB / 270.9 MB, free: 8.359 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.4632/0.4632, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004055, allocations: 11.98 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003746/0.1544, allocations: 2.851 MB / 493.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.1572, allocations: 1.509 MB / 494.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.1576, allocations: 23.81 kB / 494.6 MB, free: 6.805 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.1581, allocations: 107.2 kB / 494.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.1585, allocations: 155 kB / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009957/0.1595, allocations: 419.3 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007986/0.1604, allocations: 0.795 MB / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.1607, allocations: 189.1 kB / 496.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.1611, allocations: 298.5 kB / 496.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.1615, allocations: 318.4 kB / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.1616, allocations: 20 kB / 496.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.1616, allocations: 24 kB / 496.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.1618, allocations: 159.3 kB / 497.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.162, allocations: 133.3 kB / 497.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.1625, allocations: 0.5378 MB / 497.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1625, allocations: 0 / 497.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1625, allocations: 0 / 497.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1625, allocations: 0 / 497.7 MB, free: 3.66 MB / 378.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.002183/0.1647, allocations: 1.063 MB / 498.8 MB, free: 2.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1648, allocations: 8.031 kB / 498.8 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1649, allocations: 94.83 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.1658, allocations: 0.5304 MB / 499.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.1659, allocations: 41 kB / 499.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.166, allocations: 59.98 kB / 499.5 MB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1672, allocations: 0.6213 MB / 0.4884 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1672, allocations: 4 kB / 0.4884 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.1673, allocations: 20 kB / 0.4884 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1673, allocations: 12 kB / 0.4885 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1684, allocations: 0.4939 MB / 0.4889 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2855/0.4538, allocations: 2.687 MB / 0.4916 GB, free: 41.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.4553, allocations: 0.5771 MB / 0.4921 GB, free: 41.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.456, allocations: 274.8 kB / 0.4924 GB, free: 41.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/0.4561, allocations: 5.391 kB / 0.4924 GB, free: 41.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4561, allocations: 38.39 kB / 0.4924 GB, free: 41.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 4.198e-06/0.4561, allocations: 1.266 kB / 0.4924 GB, free: 41.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.003127/0.4593, allocations: 1.212 MB / 0.4936 GB, free: 41.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.4594, allocations: 137.2 kB / 0.4937 GB, free: 40.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.4606, allocations: 0.6519 MB / 0.4944 GB, free: 40.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.4607, allocations: 38.64 kB / 0.4944 GB, free: 40.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.461, allocations: 364.9 kB / 0.4948 GB, free: 40.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4611, allocations: 170.5 kB / 0.4949 GB, free: 40.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.4612, allocations: 12.31 kB / 0.4949 GB, free: 40.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.4612, allocations: 331.4 kB / 0.4953 GB, free: 40.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/0.4619, allocations: 285.7 kB / 0.4955 GB, free: 40.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.4627, allocations: 449.7 kB / 0.496 GB, free: 40 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.4634, allocations: 326.3 kB / 0.4963 GB, free: 39.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.4635, allocations: 0 / 0.4963 GB, free: 39.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001739/0.4652, allocations: 0.8362 MB / 0.4971 GB, free: 39.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.4653, allocations: 223.9 kB / 0.4973 GB, free: 39.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4653, allocations: 4.781 kB / 0.4973 GB, free: 39.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.4654, allocations: 8.25 kB / 0.4973 GB, free: 39.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.4662, allocations: 161.5 kB / 0.4975 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.4662, allocations: 11.88 kB / 0.4975 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.4669, allocations: 94.98 kB / 0.4976 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.467, allocations: 25.56 kB / 0.4976 GB, free: 39.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.467, allocations: 6.125 kB / 0.4976 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001922/0.4689, allocations: 0.7153 MB / 0.4983 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4689, allocations: 6.922 kB / 0.4983 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4689, allocations: 8.562 kB / 0.4983 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.4696, allocations: 149.7 kB / 0.4985 GB, free: 39.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4696, allocations: 13.64 kB / 0.4985 GB, free: 39.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.4702, allocations: 89.7 kB / 0.4986 GB, free: 39.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.4702, allocations: 23.66 kB / 0.4986 GB, free: 39.51 MB / 378.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 (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.000319/0.4705, allocations: 293.9 kB / 0.4989 GB, free: 39.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4707, allocations: 80.31 kB / 0.4989 GB, free: 39.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.4709, allocations: 90.03 kB / 0.499 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4709, allocations: 2.688 kB / 0.499 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.4709, allocations: 2.562 kB / 0.499 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4709, allocations: 3.328 kB / 0.499 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.4722, allocations: 0.8675 MB / 0.4999 GB, free: 38.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4722, allocations: 2.562 kB / 0.4999 GB, free: 38.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.4728, allocations: 112.2 kB / 0.5 GB, free: 38.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4728, allocations: 6.906 kB / 0.5 GB, free: 38.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.4729, allocations: 17.23 kB / 0.5 GB, free: 38.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4729, allocations: 2.938 kB / 0.5 GB, free: 38.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4729, allocations: 0.9375 kB / 0.5 GB, free: 38.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.4749, allocations: 1.205 MB / 0.5012 GB, free: 38.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.4751, allocations: 196.4 kB / 0.5014 GB, free: 38.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.4752, allocations: 16.31 kB / 0.5014 GB, free: 38.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.4758, allocations: 62.39 kB / 0.5015 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.476, allocations: 37.91 kB / 0.5015 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.476, allocations: 16.73 kB / 0.5015 GB, free: 38.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007039/0.4767, allocations: 457.4 kB / 0.5019 GB, free: 37.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4767, allocations: 0 / 0.5019 GB, free: 37.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009701/0.4777, allocations: 197.1 kB / 0.5021 GB, free: 37.8 MB / 378.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.0001698/0.4779, allocations: 112.5 kB / 0.5022 GB, free: 37.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.4803, allocations: 1.012 MB / 0.5032 GB, free: 37.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4803, allocations: 1.062 kB / 0.5032 GB, free: 37.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.481, allocations: 311.2 kB / 0.5035 GB, free: 37.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.4822, allocations: 176.2 kB / 0.5037 GB, free: 37.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.4849, allocations: 1.765 MB / 0.5054 GB, free: 36.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.4853, allocations: 0.9552 MB / 0.5063 GB, free: 35.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.4855, allocations: 48.7 kB / 0.5064 GB, free: 35.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4855, allocations: 0 / 0.5064 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Templates: time 0.01214/0.4977, allocations: 8.676 MB / 0.5149 GB, free: 34.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches