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.001444/0.001444, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 72.44 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004645/0.1124, allocations: 3.376 MB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.1154, allocations: 1.587 MB / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.1159, allocations: 19.88 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.1164, allocations: 142.8 kB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.117, allocations: 186.6 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1182, allocations: 0.5452 MB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009919/0.1192, allocations: 0.9007 MB / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.1196, allocations: 238.4 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.1201, allocations: 358.5 kB / 487.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.1206, allocations: 398.1 kB / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1207, allocations: 64 kB / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1209, allocations: 71.94 kB / 488 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.1211, allocations: 199.3 kB / 488.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.1214, allocations: 349.8 kB / 488.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.1221, allocations: 0.7512 MB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1221, allocations: 4 kB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1221, allocations: 0 / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1221, allocations: 0 / 489.3 MB, free: 12 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.002199/0.1243, allocations: 1.148 MB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1244, allocations: 9.109 kB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.657e-05/0.1245, allocations: 90.64 kB / 490.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.1247, allocations: 95.81 kB / 490.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.1255, allocations: 0.5624 MB / 491.2 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.1256, allocations: 41.38 kB / 491.2 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.294e-05/0.1257, allocations: 52.28 kB / 491.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1268, allocations: 0.63 MB / 491.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1268, allocations: 0 / 491.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.1268, allocations: 20 kB / 491.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1269, allocations: 12 kB / 491.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.128, allocations: 465.8 kB / 492.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.1315, allocations: 2.651 MB / 495 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1326, allocations: 0.5546 MB / 495.6 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.1332, allocations: 254.4 kB / 495.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.1333, allocations: 4 kB / 495.8 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1333, allocations: 46.5 kB / 495.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.1333, allocations: 0 / 495.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002566/0.1359, allocations: 1.131 MB / 497 MB, free: 3.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.136, allocations: 170.2 kB / 497.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/0.1368, allocations: 0.6529 MB / 497.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.1369, allocations: 33.7 kB / 497.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.1371, allocations: 364 kB / 498.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1373, allocations: 169.5 kB / 498.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1375, allocations: 118.2 kB / 498.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1376, allocations: 337.9 kB / 498.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.1382, allocations: 267.3 kB / 499.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.139, allocations: 441.5 kB / 499.5 MB, free: 1.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.1403, allocations: 0.6685 MB / 0.4885 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1403, allocations: 0 / 0.4885 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001627/0.142, allocations: 0.8016 MB / 0.4892 GB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.142, allocations: 8 kB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.142, allocations: 4 kB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.142, allocations: 8.531 kB / 0.4893 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.1427, allocations: 155.8 kB / 0.4894 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.1428, allocations: 19.88 kB / 0.4894 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.1433, allocations: 71.62 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.1433, allocations: 24 kB / 0.4895 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007367/0.1441, allocations: 417.2 kB / 0.4899 GB, free: 15.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006613/0.1448, allocations: 417.2 kB / 0.4903 GB, free: 14.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00121/0.146, allocations: 0.6571 MB / 0.491 GB, free: 13.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.146, allocations: 4 kB / 0.491 GB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001504/0.1475, allocations: 0.7645 MB / 0.4917 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1475, allocations: 11.06 kB / 0.4917 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1475, allocations: 8 kB / 0.4917 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.1476, allocations: 8 kB / 0.4917 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.1482, allocations: 139.8 kB / 0.4919 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.1482, allocations: 15.92 kB / 0.4919 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.1487, allocations: 79.55 kB / 0.492 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.1488, allocations: 27.94 kB / 0.492 GB, free: 12.81 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.0001853/0.149, allocations: 216.1 kB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.1491, allocations: 79.05 kB / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.1493, allocations: 90.16 kB / 0.4924 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.1493, allocations: 11.94 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1493, allocations: 0 / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1493, allocations: 3.984 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.1506, allocations: 0.8532 MB / 0.4932 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1506, allocations: 3.938 kB / 0.4932 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.1513, allocations: 103.9 kB / 0.4933 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/0.1513, allocations: 4 kB / 0.4933 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.1514, allocations: 11.98 kB / 0.4933 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1514, allocations: 4 kB / 0.4933 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1514, allocations: 4 kB / 0.4933 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.1534, allocations: 1.133 MB / 0.4944 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.1537, allocations: 200.1 kB / 0.4946 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.1538, allocations: 15.98 kB / 0.4946 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.1543, allocations: 43.95 kB / 0.4947 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1544, allocations: 39.94 kB / 0.4947 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.1545, allocations: 12 kB / 0.4947 GB, free: 9.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005829/0.155, allocations: 463 kB / 0.4952 GB, free: 9.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1551, allocations: 0 / 0.4952 GB, free: 9.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007153/0.1558, allocations: 188 kB / 0.4954 GB, free: 9.258 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.002272/0.1581, allocations: 1.705 MB / 0.497 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.1602, allocations: 0.9861 MB / 0.498 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1602, allocations: 4 kB / 0.498 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.1608, allocations: 283.7 kB / 0.4983 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.1619, allocations: 191 kB / 0.4984 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1708/0.3327, allocations: 6.871 MB / 0.5052 GB, free: 40.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3331, allocations: 0.9499 MB / 0.5061 GB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006178/0.3337, allocations: 154.7 kB / 0.5062 GB, free: 39.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.3341, allocations: 257.4 kB / 0.5065 GB, free: 39.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3341, allocations: 0.625 kB / 0.5065 GB, free: 39.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.3681, allocations: 14.32 MB / 0.5205 GB, free: 35.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.977, allocations: 15.42 kB / 0.5205 GB, free: 35.79 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.csv","/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