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.001174/0.001174, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.692/1.692, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008429/0.0008429, allocations: 88.94 kB / 271.3 MB, free: 8.258 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.3919/0.3919, allocations: 43.57 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.5073, allocations: 96.26 MB / 0.574 GB, free: 5.703 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5076, allocations: 71.97 kB / 0.574 GB, free: 5.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08313/0.5907, allocations: 29.43 MB / 0.6028 GB, free: 8.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5908, allocations: 0 / 0.6028 GB, free: 8.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.38e-05/0.5909, allocations: 31.92 kB / 0.6028 GB, free: 8.148 MB / 426.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.002222/0.5931, allocations: 1.086 MB / 0.6039 GB, free: 7.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5931, allocations: 12.03 kB / 0.6039 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.5933, allocations: 91.81 kB / 0.604 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.5945, allocations: 0.6414 MB / 0.6046 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.5945, allocations: 41.38 kB / 0.6046 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.5946, allocations: 56.28 kB / 0.6047 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.5957, allocations: 0.6179 MB / 0.6053 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5958, allocations: 7.938 kB / 0.6053 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.5958, allocations: 16 kB / 0.6053 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.5958, allocations: 12 kB / 0.6053 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5969, allocations: 485.8 kB / 0.6058 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.6004, allocations: 2.673 MB / 0.6084 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009985/0.6015, allocations: 0.5085 MB / 0.6089 GB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.602, allocations: 278.9 kB / 0.6092 GB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.6021, allocations: 4.234 kB / 0.6092 GB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.6021, allocations: 38.8 kB / 0.6092 GB, free: 1.301 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.6021, allocations: 0 / 0.6092 GB, free: 1.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.002445/0.6046, allocations: 1.18 MB / 0.6104 GB, free: 116 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.6047, allocations: 114.8 kB / 0.6105 GB, free: 15.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009103/0.6056, allocations: 0.6451 MB / 0.6111 GB, free: 15.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.6056, allocations: 41.7 kB / 0.6111 GB, free: 15.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.6059, allocations: 364.7 kB / 0.6115 GB, free: 14.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.6061, allocations: 177.5 kB / 0.6116 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.6061, allocations: 12 kB / 0.6117 GB, free: 14.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6063, allocations: 334.9 kB / 0.612 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/0.6069, allocations: 277.1 kB / 0.6122 GB, free: 14.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/0.6076, allocations: 439.5 kB / 0.6127 GB, free: 13.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.609, allocations: 0.72 MB / 0.6134 GB, free: 12.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.609, allocations: 4 kB / 0.6134 GB, free: 12.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001573/0.6105, allocations: 0.8356 MB / 0.6142 GB, free: 12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.6107, allocations: 222.2 kB / 0.6144 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6108, allocations: 4 kB / 0.6144 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6108, allocations: 8 kB / 0.6144 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.6117, allocations: 203.7 kB / 0.6146 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.6118, allocations: 11.98 kB / 0.6146 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.6123, allocations: 91.58 kB / 0.6147 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.6123, allocations: 27.98 kB / 0.6147 GB, free: 11.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.6124, allocations: 4 kB / 0.6147 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/0.6138, allocations: 0.7307 MB / 0.6154 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.6138, allocations: 4 kB / 0.6154 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.6138, allocations: 8 kB / 0.6155 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000929/0.6148, allocations: 200.1 kB / 0.6156 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.6148, allocations: 11.94 kB / 0.6157 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.6154, allocations: 91.47 kB / 0.6157 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.6154, allocations: 28 kB / 0.6158 GB, free: 10.31 MB / 442.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.0004888/0.6159, allocations: 289.5 kB / 0.616 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6161, allocations: 71.16 kB / 0.6161 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.6162, allocations: 90.98 kB / 0.6162 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6163, allocations: 4 kB / 0.6162 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.6163, allocations: 7.938 kB / 0.6162 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6163, allocations: 3.984 kB / 0.6162 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.6184, allocations: 1.275 MB / 0.6175 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6184, allocations: 4 kB / 0.6175 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.619, allocations: 111.9 kB / 0.6176 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.619, allocations: 8 kB / 0.6176 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.6191, allocations: 19.98 kB / 0.6176 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.6191, allocations: 4 kB / 0.6176 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6191, allocations: 3.938 kB / 0.6176 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.6212, allocations: 1.2 MB / 0.6188 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.6214, allocations: 196.1 kB / 0.619 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.6215, allocations: 16 kB / 0.619 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.622, allocations: 59.94 kB / 0.619 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6222, allocations: 43.88 kB / 0.6191 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.6222, allocations: 15.94 kB / 0.6191 GB, free: 6.789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006956/0.6229, allocations: 459 kB / 0.6195 GB, free: 6.344 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6229, allocations: 0 / 0.6195 GB, free: 6.344 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009784/0.6239, allocations: 228 kB / 0.6198 GB, free: 6.121 MB / 442.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.0003123/0.6242, allocations: 167.5 kB / 0.6199 GB, free: 5.949 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.6264, allocations: 1.022 MB / 0.6209 GB, free: 4.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6264, allocations: 0 / 0.6209 GB, free: 4.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.627, allocations: 303.8 kB / 0.6212 GB, free: 4.633 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6282, allocations: 177 kB / 0.6214 GB, free: 4.469 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.6308, allocations: 1.721 MB / 0.623 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.6313, allocations: 0.9542 MB / 0.624 GB, free: 1.723 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005661/0.6319, allocations: 152.9 kB / 0.6241 GB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6321, allocations: 51.42 kB / 0.6242 GB, free: 1.52 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6321, allocations: 0 / 0.6242 GB, free: 1.52 MB / 442.7 MB Notification: Performance of Templates: time 0.01374/0.6458, allocations: 7.454 MB / 0.6315 GB, free: 10.13 MB / 458.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/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_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches