Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0015/0.001505, allocations: 183.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00122/0.00122, allocations: 103.1 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.5304/0.5304, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007393/0.0007394, allocations: 16 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1352, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005143/0.1404, allocations: 2.867 MB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004266/0.1448, allocations: 1.494 MB / 494.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/0.1454, allocations: 19.88 kB / 494.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.146, allocations: 91.27 kB / 494.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.1468, allocations: 195.4 kB / 494.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1487, allocations: 419.2 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.1505, allocations: 0.6046 MB / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.151, allocations: 185.1 kB / 496.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008891/0.152, allocations: 322.7 kB / 496.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.1527, allocations: 322.5 kB / 496.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.1529, allocations: 20 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.1533, allocations: 123.8 kB / 496.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.1536, allocations: 143.4 kB / 497 MB, free: 4.434 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.1538, allocations: 133.3 kB / 497.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1549, allocations: 0.6313 MB / 497.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.155, allocations: 0 / 497.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.155, allocations: 0 / 497.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.155, allocations: 0 / 497.7 MB, free: 3.664 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.003702/0.1587, allocations: 1.07 MB / 498.8 MB, free: 2.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1588, allocations: 8.031 kB / 498.8 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.1591, allocations: 98.77 kB / 498.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.1608, allocations: 0.5382 MB / 499.5 MB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.1609, allocations: 41 kB / 499.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.1611, allocations: 52 kB / 499.5 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.1631, allocations: 0.6213 MB / 0.4884 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.1632, allocations: 4 kB / 0.4884 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.1633, allocations: 16 kB / 0.4885 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.1633, allocations: 12 kB / 0.4885 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.1654, allocations: 0.4977 MB / 0.489 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3662/0.5316, allocations: 2.677 MB / 0.4916 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.5336, allocations: 0.5298 MB / 0.4921 GB, free: 41.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.5337, allocations: 9.391 kB / 0.4921 GB, free: 41.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.5338, allocations: 37.47 kB / 0.4921 GB, free: 41.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 3.567e-06/0.5338, allocations: 0 / 0.4921 GB, free: 41.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.00471/0.5385, allocations: 1.224 MB / 0.4933 GB, free: 41.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.5386, allocations: 135.1 kB / 0.4935 GB, free: 41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.5406, allocations: 0.6521 MB / 0.4941 GB, free: 40.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.5408, allocations: 34.73 kB / 0.4941 GB, free: 40.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.5411, allocations: 376.8 kB / 0.4945 GB, free: 40.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.5414, allocations: 174.1 kB / 0.4947 GB, free: 40.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.5414, allocations: 15.19 kB / 0.4947 GB, free: 40.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.5415, allocations: 339.5 kB / 0.495 GB, free: 40.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.5427, allocations: 302.4 kB / 0.4953 GB, free: 40.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.5442, allocations: 454.2 kB / 0.4957 GB, free: 40.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.5455, allocations: 339.2 kB / 0.496 GB, free: 40.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.5455, allocations: 1.375 kB / 0.496 GB, free: 40.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002962/0.5485, allocations: 0.8179 MB / 0.4968 GB, free: 39.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004388/0.549, allocations: 1.748 MB / 0.4985 GB, free: 38.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.549, allocations: 7.312 kB / 0.4986 GB, free: 38.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.782e-05/0.5491, allocations: 8.281 kB / 0.4986 GB, free: 38.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.5508, allocations: 209.4 kB / 0.4988 GB, free: 38.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.751e-05/0.5509, allocations: 12.41 kB / 0.4988 GB, free: 38.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.5521, allocations: 98.31 kB / 0.4989 GB, free: 38.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.5522, allocations: 23.36 kB / 0.4989 GB, free: 38.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5522, allocations: 4.125 kB / 0.4989 GB, free: 38.06 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002763/0.555, allocations: 0.7374 MB / 0.4996 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.555, allocations: 3.594 kB / 0.4996 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5551, allocations: 8.719 kB / 0.4996 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.5567, allocations: 196.4 kB / 0.4998 GB, free: 38.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.5567, allocations: 13.59 kB / 0.4998 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.5574, allocations: 75.84 kB / 0.4999 GB, free: 37.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.5575, allocations: 23.28 kB / 0.4999 GB, free: 37.98 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 (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.0005661/0.558, allocations: 286.2 kB / 0.5002 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.5583, allocations: 81.66 kB / 0.5003 GB, free: 37.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.5586, allocations: 91.55 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5586, allocations: 8.031 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.5586, allocations: 0.8906 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5586, allocations: 1.781 kB / 0.5004 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.5619, allocations: 1.293 MB / 0.5016 GB, free: 37.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.562, allocations: 0.5625 kB / 0.5016 GB, free: 37.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.5633, allocations: 120.4 kB / 0.5017 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.5634, allocations: 6.719 kB / 0.5017 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.5635, allocations: 16.84 kB / 0.5018 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.5635, allocations: 14.55 kB / 0.5018 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5635, allocations: 2.156 kB / 0.5018 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.567, allocations: 1.273 MB / 0.503 GB, free: 36.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.5675, allocations: 201.2 kB / 0.5032 GB, free: 36.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5677, allocations: 17.72 kB / 0.5032 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00097/0.5687, allocations: 63.05 kB / 0.5033 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.5689, allocations: 45.34 kB / 0.5033 GB, free: 36.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.569, allocations: 14.06 kB / 0.5033 GB, free: 36.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009993/0.57, allocations: 463.8 kB / 0.5038 GB, free: 36.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.57, allocations: 0 / 0.5038 GB, free: 36.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001368/0.5714, allocations: 220.4 kB / 0.504 GB, free: 36.03 MB / 378.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 () * Number of clocked 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.000415/0.5718, allocations: 142.5 kB / 0.5041 GB, free: 35.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003857/0.5757, allocations: 1.054 MB / 0.5052 GB, free: 35.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5757, allocations: 0 / 0.5052 GB, free: 35.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.577, allocations: 314.8 kB / 0.5055 GB, free: 35.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.5785, allocations: 166.7 kB / 0.5056 GB, free: 35.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.5822, allocations: 1.775 MB / 0.5074 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.5828, allocations: 0.9703 MB / 0.5083 GB, free: 33.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.5833, allocations: 57.16 kB / 0.5084 GB, free: 33.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5833, allocations: 0 / 0.5084 GB, free: 33.76 MB / 378.7 MB Notification: Performance of Templates: time 0.01938/0.6027, allocations: 8.883 MB / 0.517 GB, free: 33 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches