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.002329/0.002329, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.159/2.159, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001176/0.001177, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3258/0.3258, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.85 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.005006/0.1275, allocations: 2.844 MB / 493.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.1317, allocations: 1.489 MB / 494.5 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.1322, allocations: 23.81 kB / 494.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.1327, allocations: 87.34 kB / 494.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006927/0.1334, allocations: 195.4 kB / 494.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1351, allocations: 427.1 kB / 495.3 MB, free: 4.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1365, allocations: 0.5773 MB / 495.8 MB, free: 3.688 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004646/0.137, allocations: 177.1 kB / 496 MB, free: 3.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.1377, allocations: 318.7 kB / 496.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.1384, allocations: 310.4 kB / 496.6 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1385, allocations: 20 kB / 496.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1386, allocations: 24 kB / 496.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.1389, allocations: 159.4 kB / 496.8 MB, free: 2.684 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.1391, allocations: 133.3 kB / 497 MB, free: 2.547 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.1399, allocations: 0.5339 MB / 497.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1399, allocations: 3.938 kB / 497.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1399, allocations: 0 / 497.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.14, allocations: 0 / 497.5 MB, free: 2.008 MB / 330.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.003732/0.1437, allocations: 1.063 MB / 498.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1438, allocations: 11.97 kB / 498.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.1441, allocations: 90.92 kB / 498.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.1458, allocations: 0.5266 MB / 499.2 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.146, allocations: 41 kB / 499.2 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.1463, allocations: 67.88 kB / 499.3 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/0.1495, allocations: 0.6174 MB / 499.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/0.1496, allocations: 4 kB / 499.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.1498, allocations: 20 kB / 499.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.1499, allocations: 12 kB / 499.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.1534, allocations: 0.49 MB / 0.4887 GB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009414/0.1628, allocations: 2.694 MB / 0.4913 GB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.1652, allocations: 0.5858 MB / 0.4919 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.924e-05/0.1653, allocations: 4 kB / 0.4919 GB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.1653, allocations: 43 kB / 0.492 GB, free: 11.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 8.075e-06/0.1653, allocations: 96 / 0.492 GB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.004587/0.1699, allocations: 1.206 MB / 0.4931 GB, free: 10.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1701, allocations: 144.5 kB / 0.4933 GB, free: 10.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.1716, allocations: 0.6567 MB / 0.4939 GB, free: 9.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.1717, allocations: 33.7 kB / 0.4939 GB, free: 9.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.1721, allocations: 374.5 kB / 0.4943 GB, free: 9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.1723, allocations: 177.4 kB / 0.4945 GB, free: 8.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.1724, allocations: 12 kB / 0.4945 GB, free: 8.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1726, allocations: 338.8 kB / 0.4948 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.1738, allocations: 289.1 kB / 0.4951 GB, free: 8.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.1751, allocations: 437.2 kB / 0.4955 GB, free: 7.699 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.1764, allocations: 337 kB / 0.4958 GB, free: 7.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1764, allocations: 0 / 0.4958 GB, free: 7.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002867/0.1793, allocations: 0.7946 MB / 0.4966 GB, free: 6.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008673/0.1802, allocations: 1.75 MB / 0.4983 GB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.1802, allocations: 7.984 kB / 0.4983 GB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.1802, allocations: 11.94 kB / 0.4983 GB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.1816, allocations: 163.8 kB / 0.4985 GB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.1816, allocations: 8 kB / 0.4985 GB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.1827, allocations: 91.56 kB / 0.4986 GB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.1828, allocations: 28 kB / 0.4986 GB, free: 4.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1828, allocations: 4 kB / 0.4986 GB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002589/0.1854, allocations: 0.7144 MB / 0.4993 GB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1854, allocations: 4 kB / 0.4993 GB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1854, allocations: 8 kB / 0.4993 GB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.1867, allocations: 151.8 kB / 0.4995 GB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.1867, allocations: 16.17 kB / 0.4995 GB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.1874, allocations: 71.64 kB / 0.4995 GB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.1874, allocations: 27.94 kB / 0.4996 GB, free: 3.391 MB / 346.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.0005573/0.188, allocations: 280.9 kB / 0.4998 GB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.1883, allocations: 79.06 kB / 0.4999 GB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1885, allocations: 94.28 kB / 0.5 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.1886, allocations: 4 kB / 0.5 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1886, allocations: 3.953 kB / 0.5 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.1886, allocations: 7.984 kB / 0.5 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.1907, allocations: 0.8531 MB / 0.5008 GB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1908, allocations: 4 kB / 0.5009 GB, free: 2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.1921, allocations: 111.9 kB / 0.501 GB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.589e-06/0.1921, allocations: 7.938 kB / 0.501 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.1922, allocations: 23.94 kB / 0.501 GB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.1922, allocations: 4 kB / 0.501 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1922, allocations: 0 / 0.501 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.1959, allocations: 1.222 MB / 0.5022 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.1964, allocations: 200.1 kB / 0.5024 GB, free: 400 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.1965, allocations: 15.98 kB / 0.5024 GB, free: 384 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009442/0.1975, allocations: 59.94 kB / 0.5024 GB, free: 324 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.1977, allocations: 39.94 kB / 0.5025 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.1978, allocations: 16 kB / 0.5025 GB, free: 268 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.1989, allocations: 459 kB / 0.5029 GB, free: 15.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-07/0.1989, allocations: 0 / 0.5029 GB, free: 15.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001176/0.2001, allocations: 192 kB / 0.5031 GB, free: 15.63 MB / 362.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.0002114/0.2003, allocations: 115.2 kB / 0.5032 GB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.2041, allocations: 1.009 MB / 0.5042 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2042, allocations: 0 / 0.5042 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.2053, allocations: 311.8 kB / 0.5045 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.2068, allocations: 162.2 kB / 0.5047 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.2111, allocations: 1.766 MB / 0.5064 GB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/0.2119, allocations: 0.9768 MB / 0.5073 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.2124, allocations: 51.42 kB / 0.5074 GB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2124, allocations: 0 / 0.5074 GB, free: 11.18 MB / 362.7 MB Notification: Performance of Templates: time 0.02239/0.2348, allocations: 8.487 MB / 0.5157 GB, free: 2.699 MB / 362.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/jenkins1/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