Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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_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_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009914/0.0009915, allocations: 98.67 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.18 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 8 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 63.56 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004226/0.1503, allocations: 2.856 MB / 485.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.1537, allocations: 1.513 MB / 486.8 MB, free: 136 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.1545, allocations: 19.88 kB / 486.8 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.1552, allocations: 103.2 kB / 486.9 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008724/0.1561, allocations: 143 kB / 487 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1578, allocations: 446.4 kB / 487.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.159, allocations: 0.7992 MB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.1595, allocations: 177.2 kB / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.16, allocations: 302.6 kB / 488.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.1606, allocations: 338.3 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1608, allocations: 23.94 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.1611, allocations: 135.7 kB / 489.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.1613, allocations: 151.3 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.1615, allocations: 129.3 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.1623, allocations: 0.6275 MB / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1623, allocations: 0 / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1623, allocations: 0 / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.1623, allocations: 4 kB / 490.1 MB, free: 12.76 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.002238/0.1645, allocations: 1.067 MB / 491.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1646, allocations: 17.05 kB / 491.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.1649, allocations: 98.95 kB / 491.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008983/0.1658, allocations: 0.5343 MB / 491.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.1659, allocations: 37 kB / 491.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.426e-05/0.166, allocations: 59.91 kB / 491.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1671, allocations: 0.6338 MB / 492.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1671, allocations: 4 kB / 492.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.1672, allocations: 23.94 kB / 492.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1672, allocations: 12 kB / 492.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1683, allocations: 497.8 kB / 493.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.1718, allocations: 2.683 MB / 495.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/0.1728, allocations: 0.5295 MB / 496.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.1734, allocations: 282.9 kB / 496.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.1735, allocations: 8.234 kB / 496.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1735, allocations: 38.8 kB / 496.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.703e-06/0.1735, allocations: 3.938 kB / 496.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002353/0.1759, allocations: 1.223 MB / 497.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.1759, allocations: 162.2 kB / 498 MB, free: 4.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.1768, allocations: 0.6489 MB / 498.7 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.1768, allocations: 37.7 kB / 498.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.1771, allocations: 364.8 kB / 499.1 MB, free: 3.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1773, allocations: 177.4 kB / 499.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.1773, allocations: 12 kB / 499.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1774, allocations: 337.9 kB / 499.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.178, allocations: 293.1 kB / 499.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/0.1787, allocations: 465.8 kB / 0.4886 GB, free: 2.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006696/0.1794, allocations: 347.5 kB / 0.4889 GB, free: 1.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1794, allocations: 4 kB / 0.4889 GB, free: 1.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001575/0.181, allocations: 0.8551 MB / 0.4898 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.1812, allocations: 221.7 kB / 0.49 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1812, allocations: 7.984 kB / 0.49 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.1812, allocations: 8 kB / 0.49 GB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008569/0.1821, allocations: 211.8 kB / 0.4902 GB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.1821, allocations: 8 kB / 0.4902 GB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.1826, allocations: 95.52 kB / 0.4903 GB, free: 324 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.1827, allocations: 24 kB / 0.4903 GB, free: 300 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.1827, allocations: 7.938 kB / 0.4903 GB, free: 292 kB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/0.1841, allocations: 0.7449 MB / 0.491 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1841, allocations: 12.03 kB / 0.491 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1842, allocations: 8 kB / 0.4911 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.1849, allocations: 195.8 kB / 0.4912 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.185, allocations: 19.91 kB / 0.4913 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.1854, allocations: 83.55 kB / 0.4913 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.1855, allocations: 28 kB / 0.4914 GB, free: 15.2 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 (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.0002942/0.1858, allocations: 289.4 kB / 0.4916 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1859, allocations: 83.02 kB / 0.4917 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.1861, allocations: 90.89 kB / 0.4918 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1861, allocations: 8 kB / 0.4918 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1862, allocations: 0 / 0.4918 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1862, allocations: 0 / 0.4918 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.1881, allocations: 1.287 MB / 0.4931 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1881, allocations: 4 kB / 0.4931 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.1887, allocations: 115.9 kB / 0.4932 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1887, allocations: 8.156 kB / 0.4932 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.1888, allocations: 15.98 kB / 0.4932 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1888, allocations: 4 kB / 0.4932 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1888, allocations: 7.922 kB / 0.4932 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.1907, allocations: 1.227 MB / 0.4944 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.191, allocations: 204.1 kB / 0.4946 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.1911, allocations: 12 kB / 0.4946 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.1916, allocations: 63.94 kB / 0.4947 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1917, allocations: 39.88 kB / 0.4947 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.1918, allocations: 16 kB / 0.4947 GB, free: 11.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006368/0.1924, allocations: 463 kB / 0.4952 GB, free: 11.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1924, allocations: 0 / 0.4952 GB, free: 11.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008239/0.1933, allocations: 216 kB / 0.4954 GB, free: 10.97 MB / 382.1 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.0003942/0.1937, allocations: 139.1 kB / 0.4955 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.1957, allocations: 1.048 MB / 0.4965 GB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1958, allocations: 192 / 0.4965 GB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.1964, allocations: 323.7 kB / 0.4969 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.1974, allocations: 172.9 kB / 0.497 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.2007, allocations: 1.76 MB / 0.4987 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007932/0.2015, allocations: 0.9542 MB / 0.4997 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006426/0.2022, allocations: 148.8 kB / 0.4998 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.2024, allocations: 47.42 kB / 0.4999 GB, free: 6.309 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2024, allocations: 0 / 0.4999 GB, free: 6.309 MB / 382.1 MB Notification: Performance of Templates: time 0.2437/0.4461, allocations: 7.365 MB / 0.507 GB, free: 39.12 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches