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.001718/0.001723, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001668, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.698/1.698, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 77.58 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.144, allocations: 62.45 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.006509/0.1506, allocations: 3.354 MB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1547, allocations: 1.579 MB / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008466/0.1556, allocations: 19.88 kB / 484.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007985/0.1564, allocations: 111.2 kB / 484.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009307/0.1574, allocations: 155 kB / 484.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.1592, allocations: 0.4946 MB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.1606, allocations: 0.8538 MB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006553/0.1613, allocations: 222.4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007975/0.1621, allocations: 318.4 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000749/0.1629, allocations: 382.1 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.1631, allocations: 28 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.1634, allocations: 44 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.1637, allocations: 171.3 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.1641, allocations: 309.9 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.1649, allocations: 0.7083 MB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1649, allocations: 0 / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1649, allocations: 0 / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1649, allocations: 4 kB / 488.1 MB, free: 12.9 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.002484/0.1674, allocations: 1.156 MB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1675, allocations: 13.94 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.1676, allocations: 82.72 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.1679, allocations: 95.89 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.1688, allocations: 0.5584 MB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.1688, allocations: 37.38 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1689, allocations: 64.25 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1701, allocations: 0.6261 MB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1701, allocations: 7.938 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.1702, allocations: 20 kB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1702, allocations: 12 kB / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1713, allocations: 461.8 kB / 491.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.175, allocations: 2.659 MB / 493.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.1762, allocations: 0.5466 MB / 494.4 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.1767, allocations: 254.4 kB / 494.7 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.1768, allocations: 4 kB / 494.7 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.1768, allocations: 46.58 kB / 494.7 MB, free: 5.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.1768, allocations: 0 / 494.7 MB, free: 5.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002571/0.1794, allocations: 1.128 MB / 495.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.892e-05/0.1795, allocations: 162.2 kB / 496 MB, free: 4.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.1805, allocations: 0.6567 MB / 496.7 MB, free: 3.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.1806, allocations: 45.69 kB / 496.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.1809, allocations: 356 kB / 497.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.1811, allocations: 173.5 kB / 497.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.1813, allocations: 114.2 kB / 497.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1815, allocations: 333.9 kB / 497.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.1822, allocations: 275.3 kB / 497.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007804/0.183, allocations: 429.5 kB / 498.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.1844, allocations: 0.678 MB / 499 MB, free: 1.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.1844, allocations: 0 / 499 MB, free: 1.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001816/0.1862, allocations: 0.7982 MB / 499.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.1863, allocations: 8 kB / 499.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.1863, allocations: 4 kB / 499.8 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.1863, allocations: 8 kB / 499.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.187, allocations: 147.7 kB / 500 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.187, allocations: 19.86 kB / 0.4883 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.1876, allocations: 79.8 kB / 0.4884 GB, free: 392 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.1876, allocations: 23.98 kB / 0.4884 GB, free: 368 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007905/0.1884, allocations: 409.6 kB / 0.4888 GB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000703/0.1892, allocations: 421.2 kB / 0.4892 GB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/0.1904, allocations: 0.6532 MB / 0.4898 GB, free: 14.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/0.1904, allocations: 0 / 0.4898 GB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001605/0.192, allocations: 0.7772 MB / 0.4906 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1921, allocations: 4 kB / 0.4906 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1921, allocations: 4 kB / 0.4906 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1921, allocations: 11.98 kB / 0.4906 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.1927, allocations: 144.3 kB / 0.4907 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.1927, allocations: 19.88 kB / 0.4908 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.1933, allocations: 79.53 kB / 0.4908 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.1934, allocations: 20 kB / 0.4909 GB, free: 13.7 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.0002297/0.1936, allocations: 224 kB / 0.4911 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.1938, allocations: 75.06 kB / 0.4911 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.194, allocations: 94.2 kB / 0.4912 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.194, allocations: 11.94 kB / 0.4912 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.194, allocations: 0 / 0.4912 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1941, allocations: 3.938 kB / 0.4912 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.1955, allocations: 0.8492 MB / 0.4921 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.1955, allocations: 3.938 kB / 0.4921 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.1962, allocations: 111.9 kB / 0.4922 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.1962, allocations: 4 kB / 0.4922 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.1963, allocations: 12 kB / 0.4922 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.1963, allocations: 4 kB / 0.4922 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1963, allocations: 0 / 0.4922 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.1985, allocations: 1.133 MB / 0.4933 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.1988, allocations: 200.1 kB / 0.4935 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.1989, allocations: 16 kB / 0.4935 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.1994, allocations: 51.94 kB / 0.4936 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1996, allocations: 39.94 kB / 0.4936 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.1996, allocations: 12 kB / 0.4936 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007284/0.2004, allocations: 455 kB / 0.494 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2004, allocations: 3.938 kB / 0.4941 GB, free: 10.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009405/0.2013, allocations: 196 kB / 0.4942 GB, free: 10.13 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.002564/0.2039, allocations: 1.694 MB / 0.4959 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.2063, allocations: 0.9547 MB / 0.4968 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2063, allocations: 0 / 0.4968 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006491/0.207, allocations: 279.7 kB / 0.4971 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.2082, allocations: 169.5 kB / 0.4973 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2828/0.491, allocations: 7.099 MB / 0.5042 GB, free: 41.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.4917, allocations: 0.9523 MB / 0.5051 GB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007837/0.4924, allocations: 153 kB / 0.5053 GB, free: 40.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.4929, allocations: 256.4 kB / 0.5055 GB, free: 40.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4929, allocations: 0 / 0.5055 GB, free: 40.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.529, allocations: 13.62 MB / 0.5188 GB, free: 36.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.5293, allocations: 190.2 kB / 0.519 GB, free: 36.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.735, allocations: 0 / 0.519 GB, free: 36.51 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