Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009686/0.0009722, allocations: 100.8 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003494, allocations: 11.98 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 63.58 MB / 482.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004213/0.1532, allocations: 2.824 MB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.157, allocations: 1.525 MB / 486.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008686/0.1579, allocations: 19.88 kB / 486.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007327/0.1586, allocations: 103.3 kB / 486.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008704/0.1595, allocations: 147.1 kB / 487 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.1613, allocations: 434.8 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1629, allocations: 0.7758 MB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.1634, allocations: 177.2 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.1643, allocations: 294.6 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007713/0.165, allocations: 326.3 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.1653, allocations: 23.83 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1655, allocations: 24 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1657, allocations: 151.4 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.1659, allocations: 133.3 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.1666, allocations: 0.53 MB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.1667, allocations: 7.984 kB / 489.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1667, allocations: 0 / 489.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.79e-05/0.1667, allocations: 0 / 489.9 MB, free: 13.04 MB / 366.1 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.002605/0.1693, allocations: 1.059 MB / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.1694, allocations: 9.109 kB / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/0.1698, allocations: 98.97 kB / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1709, allocations: 0.5343 MB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.171, allocations: 40.94 kB / 491.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.1711, allocations: 59.91 kB / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1725, allocations: 0.63 MB / 492.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.1726, allocations: 7.938 kB / 492.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.1727, allocations: 20 kB / 492.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1727, allocations: 12 kB / 492.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.1739, allocations: 0.49 MB / 492.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.1782, allocations: 2.686 MB / 495.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.1794, allocations: 0.578 MB / 496.1 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.18, allocations: 270.4 kB / 496.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-05/0.1801, allocations: 8.031 kB / 496.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.1801, allocations: 42.56 kB / 496.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/0.1801, allocations: 0 / 496.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002783/0.1829, allocations: 1.214 MB / 497.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.183, allocations: 158.2 kB / 497.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.184, allocations: 0.6528 MB / 498.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.184, allocations: 37.7 kB / 498.5 MB, free: 4.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.1844, allocations: 356 kB / 498.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.1845, allocations: 169.5 kB / 499 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1846, allocations: 20 kB / 499 MB, free: 3.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1847, allocations: 333.9 kB / 499.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.1854, allocations: 285.1 kB / 499.6 MB, free: 2.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.1862, allocations: 458 kB / 0.4883 GB, free: 2.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/0.1869, allocations: 329.5 kB / 0.4886 GB, free: 2.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1869, allocations: 0 / 0.4886 GB, free: 2.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001803/0.1887, allocations: 0.834 MB / 0.4894 GB, free: 1.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.1889, allocations: 221.7 kB / 0.4897 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.189, allocations: 8 kB / 0.4897 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.189, allocations: 12 kB / 0.4897 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.1897, allocations: 155.8 kB / 0.4898 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.1897, allocations: 15.89 kB / 0.4898 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.1903, allocations: 95.62 kB / 0.4899 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.1904, allocations: 24 kB / 0.49 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1904, allocations: 6.656 kB / 0.49 GB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/0.1919, allocations: 0.7221 MB / 0.4907 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.1919, allocations: 4 kB / 0.4907 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1919, allocations: 8 kB / 0.4907 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.1926, allocations: 152.3 kB / 0.4908 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.1926, allocations: 11.94 kB / 0.4908 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.1931, allocations: 87.62 kB / 0.4909 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.1932, allocations: 24 kB / 0.4909 GB, free: 15.66 MB / 382.1 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.0003481/0.1935, allocations: 289.6 kB / 0.4912 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1937, allocations: 71.06 kB / 0.4913 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.1939, allocations: 94.2 kB / 0.4914 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1939, allocations: 4 kB / 0.4914 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.1939, allocations: 4 kB / 0.4914 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1939, allocations: 7.984 kB / 0.4914 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.1955, allocations: 0.8609 MB / 0.4922 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1955, allocations: 0 / 0.4922 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.1961, allocations: 119.9 kB / 0.4923 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.1962, allocations: 4 kB / 0.4924 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.1962, allocations: 11.98 kB / 0.4924 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.1962, allocations: 4 kB / 0.4924 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1962, allocations: 0 / 0.4924 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.1982, allocations: 1.21 MB / 0.4935 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.1985, allocations: 200.1 kB / 0.4937 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.549e-05/0.1986, allocations: 11.98 kB / 0.4937 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.1991, allocations: 63.95 kB / 0.4938 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.1992, allocations: 35.94 kB / 0.4938 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.1993, allocations: 19.98 kB / 0.4939 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006642/0.1999, allocations: 455 kB / 0.4943 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2, allocations: 0 / 0.4943 GB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008499/0.2008, allocations: 188 kB / 0.4945 GB, free: 11.94 MB / 382.1 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.0001728/0.201, allocations: 119 kB / 0.4946 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.2031, allocations: 1.012 MB / 0.4956 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2031, allocations: 0 / 0.4956 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.2037, allocations: 307.7 kB / 0.4959 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2048, allocations: 172.9 kB / 0.496 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.2079, allocations: 1.756 MB / 0.4978 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.2085, allocations: 0.9497 MB / 0.4987 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005251/0.209, allocations: 148.8 kB / 0.4988 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2092, allocations: 43.44 kB / 0.4989 GB, free: 7.379 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.2092, allocations: 0 / 0.4989 GB, free: 7.379 MB / 382.1 MB Notification: Performance of Templates: time 0.01398/0.2232, allocations: 6.516 MB / 0.5052 GB, free: 0.9219 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches