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: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007217/0.0007217, allocations: 92.45 kB / 17.35 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009985/0.0009985, allocations: 199.7 kB / 18.28 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.18 MB / 345.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 8 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 63.57 MB / 483.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004146/0.133, allocations: 2.99 MB / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.1364, allocations: 1.556 MB / 487.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.1371, allocations: 23.88 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.1378, allocations: 111.2 kB / 487.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006822/0.1385, allocations: 159 kB / 488 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1397, allocations: 0.4907 MB / 488.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.141, allocations: 0.8499 MB / 489.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.1415, allocations: 218.4 kB / 489.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.1422, allocations: 298.4 kB / 489.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.1429, allocations: 346.2 kB / 490.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.143, allocations: 20 kB / 490.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1432, allocations: 28 kB / 490.2 MB, free: 13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1434, allocations: 159.3 kB / 490.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.1438, allocations: 315.6 kB / 490.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007247/0.1445, allocations: 0.6847 MB / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1445, allocations: 0 / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1446, allocations: 4 kB / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.251e-05/0.1446, allocations: 7.938 kB / 491.4 MB, free: 11.83 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.002317/0.1469, allocations: 1.044 MB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.147, allocations: 13.95 kB / 492.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.1471, allocations: 86.66 kB / 492.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.1475, allocations: 103.9 kB / 492.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.1485, allocations: 0.5623 MB / 493.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.1486, allocations: 37.38 kB / 493.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1487, allocations: 56.28 kB / 493.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.15, allocations: 0.6495 MB / 493.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.15, allocations: 0 / 493.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.1501, allocations: 16 kB / 494 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.1501, allocations: 12 kB / 494 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1512, allocations: 0.4939 MB / 494.5 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.1551, allocations: 2.69 MB / 497.2 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1564, allocations: 0.578 MB / 497.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.157, allocations: 274.4 kB / 498 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.157, allocations: 7.984 kB / 498 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.157, allocations: 42.56 kB / 498.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.1571, allocations: 0 / 498.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002515/0.1596, allocations: 1.213 MB / 499.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.1597, allocations: 162.2 kB / 499.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008511/0.1605, allocations: 0.6529 MB / 0.4884 GB, free: 2.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.1606, allocations: 41.64 kB / 0.4884 GB, free: 2.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.1608, allocations: 360 kB / 0.4887 GB, free: 2.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.161, allocations: 169.5 kB / 0.4889 GB, free: 2.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.1611, allocations: 65.69 kB / 0.489 GB, free: 2.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1612, allocations: 333.9 kB / 0.4893 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.1619, allocations: 289.1 kB / 0.4896 GB, free: 1.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.1626, allocations: 461.5 kB / 0.49 GB, free: 1.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.164, allocations: 0.7171 MB / 0.4907 GB, free: 240 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.164, allocations: 4 kB / 0.4907 GB, free: 236 kB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00171/0.1657, allocations: 0.8389 MB / 0.4915 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.1658, allocations: 225.9 kB / 0.4917 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1659, allocations: 11.94 kB / 0.4917 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1659, allocations: 8 kB / 0.4918 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/0.1666, allocations: 159.8 kB / 0.4919 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.1666, allocations: 11.94 kB / 0.4919 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.1671, allocations: 91.62 kB / 0.492 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.1672, allocations: 24 kB / 0.492 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1672, allocations: 4 kB / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/0.1687, allocations: 0.725 MB / 0.4927 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1687, allocations: 8 kB / 0.4927 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1687, allocations: 8.5 kB / 0.4928 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.1694, allocations: 155.8 kB / 0.4929 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1694, allocations: 11.94 kB / 0.4929 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.1699, allocations: 87.53 kB / 0.493 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.17, allocations: 24 kB / 0.493 GB, free: 13.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003152/0.1703, allocations: 288.8 kB / 0.4933 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.1704, allocations: 71.16 kB / 0.4934 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.1706, allocations: 90.22 kB / 0.4935 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1706, allocations: 4 kB / 0.4935 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1707, allocations: 4 kB / 0.4935 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1707, allocations: 7.984 kB / 0.4935 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.1719, allocations: 0.8569 MB / 0.4943 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.172, allocations: 4 kB / 0.4943 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.1726, allocations: 115.9 kB / 0.4944 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1726, allocations: 4 kB / 0.4944 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.1727, allocations: 15.92 kB / 0.4944 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1727, allocations: 7.938 kB / 0.4944 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1727, allocations: 0 / 0.4944 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.1748, allocations: 1.211 MB / 0.4956 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.1751, allocations: 188.3 kB / 0.4958 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.031e-05/0.1752, allocations: 19.98 kB / 0.4958 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.1757, allocations: 63.88 kB / 0.4959 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.1759, allocations: 35.95 kB / 0.4959 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1759, allocations: 15.98 kB / 0.4959 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007274/0.1767, allocations: 463 kB / 0.4964 GB, free: 10.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1767, allocations: 0 / 0.4964 GB, free: 10.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007749/0.1774, allocations: 188 kB / 0.4966 GB, free: 10.05 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.002425/0.1799, allocations: 1.76 MB / 0.4983 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.1821, allocations: 1.013 MB / 0.4993 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.1822, allocations: 7.938 kB / 0.4993 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006773/0.1828, allocations: 303.7 kB / 0.4996 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.184, allocations: 193.6 kB / 0.4997 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2041/0.3881, allocations: 7.27 MB / 0.5068 GB, free: 39.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3886, allocations: 0.9519 MB / 0.5078 GB, free: 38.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006267/0.3892, allocations: 147 kB / 0.5079 GB, free: 38.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.3896, allocations: 256.1 kB / 0.5082 GB, free: 38.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3896, allocations: 5.125 kB / 0.5082 GB, free: 38.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.4242, allocations: 13.46 MB / 0.5213 GB, free: 35.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.4244, allocations: 207 kB / 0.5215 GB, free: 34.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.537, allocations: 0 / 0.5215 GB, free: 34.83 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches