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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 197.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008476/0.0008475, allocations: 101.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2708/0.2708, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002439/0.0002442, allocations: 8.219 kB / 468.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2681, allocations: 63.24 MB / 0.5192 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09774/0.3659, allocations: 97.86 MB / 0.6147 GB, free: 7.777 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.3661, allocations: 67.97 kB / 0.6148 GB, free: 7.711 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05658/0.4227, allocations: 20.21 MB / 0.6346 GB, free: 3.473 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4227, allocations: 3.938 kB / 0.6346 GB, free: 3.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.02e-05/0.4228, allocations: 27.94 kB / 0.6346 GB, free: 3.441 MB / 442.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.002176/0.425, allocations: 1.086 MB / 0.6356 GB, free: 2.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.425, allocations: 16.02 kB / 0.6357 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.4253, allocations: 103 kB / 0.6358 GB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.4265, allocations: 0.5743 MB / 0.6363 GB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.4265, allocations: 41 kB / 0.6364 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.4266, allocations: 55.91 kB / 0.6364 GB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4277, allocations: 0.6329 MB / 0.637 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4277, allocations: 4 kB / 0.637 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.4278, allocations: 27.95 kB / 0.6371 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4278, allocations: 12 kB / 0.6371 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4288, allocations: 497.8 kB / 0.6375 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.4323, allocations: 2.667 MB / 0.6402 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.4334, allocations: 0.587 MB / 0.6407 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.4335, allocations: 8.062 kB / 0.6407 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.4335, allocations: 38.52 kB / 0.6408 GB, free: 12.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.4335, allocations: 4 kB / 0.6408 GB, free: 12.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002388/0.4359, allocations: 1.201 MB / 0.6419 GB, free: 11.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.436, allocations: 140.4 kB / 0.6421 GB, free: 11.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.4368, allocations: 0.5778 MB / 0.6426 GB, free: 10.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.4368, allocations: 33.7 kB / 0.6427 GB, free: 10.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.4371, allocations: 356 kB / 0.643 GB, free: 10.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.4372, allocations: 169.5 kB / 0.6432 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.4372, allocations: 12 kB / 0.6432 GB, free: 10.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.4373, allocations: 334 kB / 0.6435 GB, free: 9.949 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.4379, allocations: 281.1 kB / 0.6438 GB, free: 9.672 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/0.4386, allocations: 441.9 kB / 0.6442 GB, free: 9.172 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/0.4393, allocations: 323.1 kB / 0.6445 GB, free: 8.859 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4393, allocations: 0 / 0.6445 GB, free: 8.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001658/0.441, allocations: 0.8735 MB / 0.6454 GB, free: 7.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005584/0.4415, allocations: 1.743 MB / 0.6471 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4416, allocations: 4 kB / 0.6471 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.4418, allocations: 60.75 kB / 0.6471 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/0.4427, allocations: 203.8 kB / 0.6473 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.4439, allocations: 1.522 MB / 0.6488 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.4445, allocations: 91.88 kB / 0.6489 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.4446, allocations: 27.98 kB / 0.6489 GB, free: 4.066 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.4446, allocations: 4 kB / 0.6489 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00145/0.446, allocations: 0.7458 MB / 0.6496 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.446, allocations: 4 kB / 0.6497 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.4462, allocations: 57.34 kB / 0.6497 GB, free: 3.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008638/0.4471, allocations: 199.8 kB / 0.6499 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.4482, allocations: 1.507 MB / 0.6514 GB, free: 1.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.4487, allocations: 95.78 kB / 0.6515 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.4488, allocations: 23.94 kB / 0.6515 GB, free: 1.297 MB / 458.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 (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.0003339/0.4491, allocations: 286.2 kB / 0.6518 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4493, allocations: 75.06 kB / 0.6518 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.4495, allocations: 90.2 kB / 0.6519 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4495, allocations: 4 kB / 0.6519 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4495, allocations: 4 kB / 0.6519 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4495, allocations: 3.984 kB / 0.6519 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.4507, allocations: 0.8414 MB / 0.6527 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4508, allocations: 4 kB / 0.6528 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/0.4514, allocations: 111.9 kB / 0.6529 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4514, allocations: 3.984 kB / 0.6529 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.4515, allocations: 12 kB / 0.6529 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4515, allocations: 0 / 0.6529 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4515, allocations: 7.938 kB / 0.6529 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.4534, allocations: 1.234 MB / 0.6541 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.4537, allocations: 204.2 kB / 0.6543 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.4538, allocations: 23.94 kB / 0.6543 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.4544, allocations: 67.94 kB / 0.6544 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4545, allocations: 35.94 kB / 0.6544 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.4546, allocations: 11.98 kB / 0.6544 GB, free: 14.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006212/0.4552, allocations: 463 kB / 0.6549 GB, free: 13.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4552, allocations: 0 / 0.6549 GB, free: 13.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007715/0.456, allocations: 204 kB / 0.655 GB, free: 13.52 MB / 474.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.0001641/0.4561, allocations: 128.5 kB / 0.6552 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.4586, allocations: 1.252 MB / 0.6564 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4586, allocations: 0 / 0.6564 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006367/0.4593, allocations: 300.4 kB / 0.6567 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.4601, allocations: 172 kB / 0.6568 GB, free: 11.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.4626, allocations: 1.714 MB / 0.6585 GB, free: 9.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.4631, allocations: 0.9732 MB / 0.6595 GB, free: 8.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.4636, allocations: 140.9 kB / 0.6596 GB, free: 8.773 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.4638, allocations: 47.42 kB / 0.6596 GB, free: 8.727 MB / 474.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4638, allocations: 0 / 0.6596 GB, free: 8.727 MB / 474.7 MB Notification: Performance of Templates: time 0.01261/0.4764, allocations: 7.498 MB / 0.667 GB, free: 1.301 MB / 474.7 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