Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,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_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 97.44 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 207.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2934/0.2934, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 63.46 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004104/0.1988, allocations: 2.832 MB / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.2027, allocations: 1.489 MB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.2031, allocations: 19.88 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.2036, allocations: 99.25 kB / 485.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.2041, allocations: 186.9 kB / 486 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.2053, allocations: 426.7 kB / 486.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.2062, allocations: 0.5541 MB / 487 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.2066, allocations: 169.2 kB / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.2071, allocations: 318.7 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.2076, allocations: 314.5 kB / 487.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.626e-05/0.2077, allocations: 20 kB / 487.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.2078, allocations: 24 kB / 487.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.2081, allocations: 151.4 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2082, allocations: 133.3 kB / 488.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.2089, allocations: 0.5339 MB / 488.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2089, allocations: 0 / 488.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.2089, allocations: 3.938 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2089, allocations: 0 / 488.6 MB, free: 14.14 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.002397/0.2113, allocations: 1.051 MB / 489.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.2114, allocations: 8.031 kB / 489.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.2117, allocations: 98.95 kB / 489.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.2127, allocations: 0.5342 MB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.2127, allocations: 37 kB / 490.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2128, allocations: 67.98 kB / 490.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.214, allocations: 0.626 MB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.214, allocations: 3.938 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.2141, allocations: 24 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.2141, allocations: 8 kB / 491.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.2153, allocations: 0.49 MB / 491.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.2192, allocations: 2.651 MB / 494.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.2205, allocations: 0.5819 MB / 494.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.2206, allocations: 8.094 kB / 494.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.2206, allocations: 42.5 kB / 494.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.2206, allocations: 0 / 494.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002703/0.2234, allocations: 1.215 MB / 496.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.2235, allocations: 162.2 kB / 496.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.2244, allocations: 0.6489 MB / 496.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.2245, allocations: 41.7 kB / 496.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.2248, allocations: 356 kB / 497.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.225, allocations: 177.5 kB / 497.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.225, allocations: 12 kB / 497.4 MB, free: 4.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2252, allocations: 330 kB / 497.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.2259, allocations: 277.1 kB / 498 MB, free: 4.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.2267, allocations: 450 kB / 498.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.2274, allocations: 322 kB / 498.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2274, allocations: 4 kB / 498.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001839/0.2292, allocations: 0.8509 MB / 499.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000997/0.2303, allocations: 1.75 MB / 0.4896 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2303, allocations: 4 kB / 0.4896 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.2306, allocations: 60.81 kB / 0.4897 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.2315, allocations: 207.7 kB / 0.4899 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.233, allocations: 1.511 MB / 0.4914 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.2336, allocations: 87.73 kB / 0.4915 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.2336, allocations: 27.98 kB / 0.4915 GB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.2337, allocations: 4 kB / 0.4915 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001484/0.2351, allocations: 0.74 MB / 0.4922 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2352, allocations: 4 kB / 0.4922 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.2353, allocations: 64.75 kB / 0.4923 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.2362, allocations: 203.8 kB / 0.4925 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.2376, allocations: 1.511 MB / 0.4939 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.2382, allocations: 79.58 kB / 0.494 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.2383, allocations: 28 kB / 0.494 GB, free: 12 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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000542/0.2389, allocations: 299.6 kB / 0.4943 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.2391, allocations: 82.95 kB / 0.4944 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.2392, allocations: 90.2 kB / 0.4945 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2393, allocations: 4 kB / 0.4945 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2393, allocations: 4 kB / 0.4945 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2393, allocations: 0 / 0.4945 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.2408, allocations: 0.8687 MB / 0.4953 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2408, allocations: 0 / 0.4953 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.2415, allocations: 115.9 kB / 0.4955 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-06/0.2415, allocations: 4 kB / 0.4955 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.2416, allocations: 15.98 kB / 0.4955 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.2416, allocations: 7.938 kB / 0.4955 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2416, allocations: 0 / 0.4955 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.2437, allocations: 1.226 MB / 0.4967 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.244, allocations: 192.2 kB / 0.4969 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.2441, allocations: 11.98 kB / 0.4969 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.2446, allocations: 67.89 kB / 0.4969 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2447, allocations: 35.94 kB / 0.497 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.2448, allocations: 19.94 kB / 0.497 GB, free: 8.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006507/0.2454, allocations: 459 kB / 0.4974 GB, free: 8.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2455, allocations: 3.938 kB / 0.4974 GB, free: 8.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008898/0.2463, allocations: 196 kB / 0.4976 GB, free: 8.211 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.0001801/0.2465, allocations: 111 kB / 0.4977 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.2493, allocations: 1.252 MB / 0.499 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2493, allocations: 0 / 0.499 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.25, allocations: 303.7 kB / 0.4992 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009431/0.2509, allocations: 171.4 kB / 0.4994 GB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.254, allocations: 1.71 MB / 0.5011 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.2547, allocations: 0.9692 MB / 0.502 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00054/0.2552, allocations: 140.7 kB / 0.5022 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.2554, allocations: 43.44 kB / 0.5022 GB, free: 3.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.2554, allocations: 0 / 0.5022 GB, free: 3.43 MB / 382.1 MB Notification: Performance of Templates: time 0.3018/0.5572, allocations: 7.341 MB / 0.5094 GB, free: 39.78 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches