Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007561/0.000756, allocations: 92.52 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.0009742/0.0009745, allocations: 205.4 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.338/1.338, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003935/0.1203, allocations: 2.97 MB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1237, allocations: 1.56 MB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.1243, allocations: 19.88 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.1249, allocations: 111.2 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006739/0.1256, allocations: 155 kB / 488 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1269, allocations: 0.491 MB / 488.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1284, allocations: 0.842 MB / 489.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.1287, allocations: 222.4 kB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.1293, allocations: 302.4 kB / 489.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.1297, allocations: 342.2 kB / 490.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.1298, allocations: 20 kB / 490.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.1299, allocations: 36 kB / 490.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.1301, allocations: 159.3 kB / 490.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.1304, allocations: 311.5 kB / 490.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008685/0.1313, allocations: 0.6847 MB / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1313, allocations: 0 / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1313, allocations: 0 / 491.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1313, allocations: 0 / 491.4 MB, free: 11.84 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.002408/0.1337, allocations: 1.051 MB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.1338, allocations: 9.953 kB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.134, allocations: 82.72 kB / 492.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.1343, allocations: 99.89 kB / 492.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.1354, allocations: 0.5662 MB / 493.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.1354, allocations: 37.38 kB / 493.2 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.1355, allocations: 64.22 kB / 493.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.1368, allocations: 0.6339 MB / 493.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.1368, allocations: 15.88 kB / 493.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.1369, allocations: 20 kB / 493.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1369, allocations: 16 kB / 493.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.138, allocations: 0.49 MB / 494.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.1419, allocations: 2.69 MB / 497.1 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1431, allocations: 0.5741 MB / 497.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.1437, allocations: 277 kB / 498 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.1437, allocations: 8 kB / 498 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1438, allocations: 42.59 kB / 498 MB, free: 4.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.063e-06/0.1438, allocations: 0 / 498 MB, free: 4.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00266/0.1465, allocations: 1.206 MB / 499.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.1466, allocations: 166.1 kB / 499.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/0.1475, allocations: 0.6607 MB / 0.4883 GB, free: 2.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.1475, allocations: 33.7 kB / 0.4884 GB, free: 2.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.1478, allocations: 360 kB / 0.4887 GB, free: 2.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.148, allocations: 173.5 kB / 0.4889 GB, free: 2.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.148, allocations: 57.69 kB / 0.4889 GB, free: 2.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1482, allocations: 337.9 kB / 0.4892 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/0.1488, allocations: 285.1 kB / 0.4895 GB, free: 1.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/0.1496, allocations: 461.5 kB / 0.49 GB, free: 1.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.151, allocations: 0.7171 MB / 0.4907 GB, free: 244 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.151, allocations: 4 kB / 0.4907 GB, free: 240 kB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001766/0.1528, allocations: 0.8419 MB / 0.4915 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.1529, allocations: 229 kB / 0.4917 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.153, allocations: 7.938 kB / 0.4917 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.153, allocations: 8 kB / 0.4917 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.1537, allocations: 159.8 kB / 0.4919 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1537, allocations: 15.88 kB / 0.4919 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.1542, allocations: 91.62 kB / 0.492 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.1543, allocations: 24 kB / 0.492 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.1543, allocations: 4 kB / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.1557, allocations: 0.718 MB / 0.4927 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1557, allocations: 4 kB / 0.4927 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.1557, allocations: 8 kB / 0.4927 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.1563, allocations: 152 kB / 0.4929 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1563, allocations: 12 kB / 0.4929 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.1568, allocations: 83.62 kB / 0.493 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.1569, allocations: 24 kB / 0.493 GB, free: 13.8 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.0003693/0.1573, allocations: 301.1 kB / 0.4933 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.1574, allocations: 79 kB / 0.4933 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.1576, allocations: 86.22 kB / 0.4934 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1576, allocations: 8 kB / 0.4934 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.1576, allocations: 0 / 0.4934 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1577, allocations: 3.984 kB / 0.4934 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.159, allocations: 0.857 MB / 0.4943 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1591, allocations: 0 / 0.4943 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.1597, allocations: 123.8 kB / 0.4944 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1597, allocations: 0 / 0.4944 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.1598, allocations: 19.98 kB / 0.4944 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1598, allocations: 7.875 kB / 0.4944 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1598, allocations: 8 kB / 0.4944 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.1618, allocations: 1.203 MB / 0.4956 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.1621, allocations: 192.3 kB / 0.4958 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.1621, allocations: 15.98 kB / 0.4958 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.1627, allocations: 67.88 kB / 0.4959 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.1628, allocations: 35.95 kB / 0.4959 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.1629, allocations: 11.98 kB / 0.4959 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006724/0.1635, allocations: 467 kB / 0.4963 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1636, allocations: 3.938 kB / 0.4964 GB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007412/0.1643, allocations: 188 kB / 0.4965 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.002496/0.1668, allocations: 1.755 MB / 0.4982 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.1689, allocations: 1.021 MB / 0.4992 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1689, allocations: 3.938 kB / 0.4992 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.1696, allocations: 303.8 kB / 0.4995 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.1708, allocations: 186.8 kB / 0.4997 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2262/0.397, allocations: 7.274 MB / 0.5068 GB, free: 34.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.3976, allocations: 0.9518 MB / 0.5077 GB, free: 33.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006825/0.3982, allocations: 142.5 kB / 0.5079 GB, free: 33.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/0.3987, allocations: 260.9 kB / 0.5081 GB, free: 33.8 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3987, allocations: 5.062 kB / 0.5081 GB, free: 33.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.4295, allocations: 13.45 MB / 0.5213 GB, free: 30.72 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.4297, allocations: 185 kB / 0.5214 GB, free: 30.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.579, allocations: 4.938 kB / 0.5214 GB, free: 30.46 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches