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: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008569/0.0008569, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009636/0.0009636, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1958/0.1958, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002643, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1217, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003656/0.1254, allocations: 2.982 MB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.1287, allocations: 1.56 MB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.129, allocations: 19.88 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.1295, allocations: 111.2 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.13, allocations: 163 kB / 488 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.131, allocations: 0.4902 MB / 488.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008563/0.1319, allocations: 0.8342 MB / 489.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.1323, allocations: 218.4 kB / 489.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.1328, allocations: 302.4 kB / 489.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.1333, allocations: 350.1 kB / 490.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.1333, allocations: 20 kB / 490.2 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.754e-05/0.1334, allocations: 28 kB / 490.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1336, allocations: 159.3 kB / 490.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.1339, allocations: 315.5 kB / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.1346, allocations: 0.6808 MB / 491.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1346, allocations: 0 / 491.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1346, allocations: 0 / 491.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1346, allocations: 0 / 491.4 MB, free: 11.82 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.001962/0.1366, allocations: 1.047 MB / 492.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1366, allocations: 9.953 kB / 492.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.1367, allocations: 86.7 kB / 492.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.137, allocations: 95.91 kB / 492.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.1378, allocations: 0.5623 MB / 493.2 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.1379, allocations: 37.38 kB / 493.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.138, allocations: 60.28 kB / 493.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1391, allocations: 0.6456 MB / 493.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1391, allocations: 0 / 493.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.1392, allocations: 19.94 kB / 493.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1392, allocations: 12 kB / 493.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1403, allocations: 0.4939 MB / 494.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.1437, allocations: 2.655 MB / 497.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1449, allocations: 0.581 MB / 497.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.1455, allocations: 274.4 kB / 497.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1455, allocations: 7.984 kB / 497.9 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1456, allocations: 42.59 kB / 498 MB, free: 4.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.1456, allocations: 0 / 498 MB, free: 4.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002536/0.1481, allocations: 1.207 MB / 499.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.1482, allocations: 170.1 kB / 499.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.1491, allocations: 0.6529 MB / 0.4883 GB, free: 2.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.1491, allocations: 33.7 kB / 0.4883 GB, free: 2.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1494, allocations: 364 kB / 0.4887 GB, free: 2.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.1495, allocations: 169.5 kB / 0.4888 GB, free: 2.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.1496, allocations: 65.67 kB / 0.4889 GB, free: 2.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1497, allocations: 337.9 kB / 0.4892 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.1504, allocations: 281.1 kB / 0.4895 GB, free: 1.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.1511, allocations: 441.5 kB / 0.4899 GB, free: 1.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.1525, allocations: 0.7171 MB / 0.4906 GB, free: 292 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1525, allocations: 0 / 0.4906 GB, free: 292 kB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00179/0.1543, allocations: 0.869 MB / 0.4915 GB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.1545, allocations: 225.9 kB / 0.4917 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1545, allocations: 8 kB / 0.4917 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.1547, allocations: 56.81 kB / 0.4917 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/0.1556, allocations: 207.7 kB / 0.4919 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.1569, allocations: 1.495 MB / 0.4934 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.1575, allocations: 99.56 kB / 0.4935 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.1575, allocations: 24 kB / 0.4935 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.1576, allocations: 8.094 kB / 0.4935 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.1591, allocations: 0.7341 MB / 0.4942 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1591, allocations: 8.516 kB / 0.4942 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.1593, allocations: 64.81 kB / 0.4943 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008062/0.1601, allocations: 199.7 kB / 0.4945 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.1613, allocations: 1.491 MB / 0.496 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.1618, allocations: 87.7 kB / 0.496 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.1619, allocations: 24 kB / 0.4961 GB, free: 10.36 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.1622, allocations: 293.1 kB / 0.4963 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.1624, allocations: 75.06 kB / 0.4964 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.1626, allocations: 90.22 kB / 0.4965 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1626, allocations: 4 kB / 0.4965 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1626, allocations: 3.984 kB / 0.4965 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1626, allocations: 4 kB / 0.4965 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.164, allocations: 0.8608 MB / 0.4973 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.164, allocations: 4 kB / 0.4974 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/0.1647, allocations: 107.9 kB / 0.4975 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.1647, allocations: 11.98 kB / 0.4975 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.1647, allocations: 15.98 kB / 0.4975 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.1648, allocations: 7.938 kB / 0.4975 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1648, allocations: 3.984 kB / 0.4975 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.1668, allocations: 1.211 MB / 0.4987 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.1671, allocations: 192.2 kB / 0.4989 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.1672, allocations: 16 kB / 0.4989 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.1678, allocations: 71.88 kB / 0.4989 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1679, allocations: 35.94 kB / 0.499 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.168, allocations: 12 kB / 0.499 GB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006374/0.1686, allocations: 463 kB / 0.4994 GB, free: 6.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1686, allocations: 4 kB / 0.4994 GB, free: 6.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007958/0.1694, allocations: 192 kB / 0.4996 GB, free: 6.602 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002332/0.1718, allocations: 1.75 MB / 0.5013 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.1745, allocations: 1.265 MB / 0.5026 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.1745, allocations: 4.188 kB / 0.5026 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.1752, allocations: 303.7 kB / 0.5029 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.1764, allocations: 165.6 kB / 0.503 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2128/0.3892, allocations: 7.308 MB / 0.5101 GB, free: 37.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.3897, allocations: 0.9522 MB / 0.5111 GB, free: 37.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005374/0.3902, allocations: 137.3 kB / 0.5112 GB, free: 37.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.3906, allocations: 256.7 kB / 0.5115 GB, free: 37.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3906, allocations: 0 / 0.5115 GB, free: 37.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.4242, allocations: 14.3 MB / 0.5254 GB, free: 33.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.4244, allocations: 227.7 kB / 0.5256 GB, free: 32.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.567, allocations: 0 / 0.5256 GB, free: 32.87 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches