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.001221/0.001221, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001389, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3964/0.3964, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.7 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1301, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005474/0.1356, allocations: 3.333 MB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.139, allocations: 1.591 MB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006967/0.1397, allocations: 27.88 kB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.1405, allocations: 138.8 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009686/0.1415, allocations: 186.6 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.1432, allocations: 0.5456 MB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.1446, allocations: 0.9007 MB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.1451, allocations: 234.3 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.1457, allocations: 358.5 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.1463, allocations: 402.1 kB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.1465, allocations: 60 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.1467, allocations: 68 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.1469, allocations: 203.3 kB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.1473, allocations: 345.8 kB / 488.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008689/0.1482, allocations: 0.7473 MB / 489.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1482, allocations: 0 / 489.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1483, allocations: 4 kB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.404e-05/0.1483, allocations: 3.938 kB / 489.2 MB, free: 12.04 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.002439/0.1507, allocations: 1.152 MB / 490.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1508, allocations: 9.109 kB / 490.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.1509, allocations: 86.7 kB / 490.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.1512, allocations: 103.8 kB / 490.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000953/0.1521, allocations: 0.5545 MB / 491.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.1522, allocations: 37.38 kB / 491.2 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.1523, allocations: 64.28 kB / 491.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1535, allocations: 0.6144 MB / 491.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.1535, allocations: 7.938 kB / 491.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.1536, allocations: 20 kB / 491.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1536, allocations: 16 kB / 491.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1549, allocations: 461.8 kB / 492.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.1593, allocations: 2.659 MB / 495 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.1606, allocations: 0.5517 MB / 495.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.1613, allocations: 258.5 kB / 495.8 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.1613, allocations: 4 kB / 495.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1614, allocations: 38.56 kB / 495.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.1614, allocations: 0 / 495.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002798/0.1642, allocations: 1.131 MB / 497 MB, free: 3.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.1643, allocations: 166.2 kB / 497.1 MB, free: 3.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1655, allocations: 0.6568 MB / 497.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.1656, allocations: 37.7 kB / 497.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1658, allocations: 360 kB / 498.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.166, allocations: 173.5 kB / 498.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.1662, allocations: 118.2 kB / 498.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1664, allocations: 333.9 kB / 498.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.167, allocations: 279.2 kB / 499.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.1678, allocations: 437.5 kB / 499.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.1692, allocations: 0.6664 MB / 0.4884 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1692, allocations: 4 kB / 0.4884 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001652/0.1709, allocations: 0.7987 MB / 0.4892 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1709, allocations: 6.5 kB / 0.4892 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1709, allocations: 4 kB / 0.4892 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.171, allocations: 8 kB / 0.4892 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.1717, allocations: 151.8 kB / 0.4894 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.1717, allocations: 16.22 kB / 0.4894 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.1723, allocations: 79.62 kB / 0.4895 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.1723, allocations: 20 kB / 0.4895 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007565/0.1731, allocations: 417.5 kB / 0.4899 GB, free: 15.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006714/0.1738, allocations: 420.3 kB / 0.4903 GB, free: 14.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001197/0.175, allocations: 0.6598 MB / 0.4909 GB, free: 13.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.175, allocations: 0 / 0.4909 GB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.00156/0.1766, allocations: 0.7655 MB / 0.4917 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1766, allocations: 11.94 kB / 0.4917 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1766, allocations: 4 kB / 0.4917 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1766, allocations: 8 kB / 0.4917 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.1773, allocations: 144.3 kB / 0.4918 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.1773, allocations: 19.92 kB / 0.4919 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.1779, allocations: 75.55 kB / 0.4919 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.1779, allocations: 31.92 kB / 0.492 GB, free: 12.85 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.0001963/0.1781, allocations: 223.9 kB / 0.4922 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.1783, allocations: 83.05 kB / 0.4923 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.1785, allocations: 90.22 kB / 0.4923 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.1785, allocations: 7.938 kB / 0.4924 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1785, allocations: 0 / 0.4924 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1785, allocations: 3.984 kB / 0.4924 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1799, allocations: 0.8415 MB / 0.4932 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.1799, allocations: 7.938 kB / 0.4932 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.1806, allocations: 104 kB / 0.4933 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.1806, allocations: 7.984 kB / 0.4933 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.1806, allocations: 19.98 kB / 0.4933 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1806, allocations: 0 / 0.4933 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1806, allocations: 0 / 0.4933 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.1827, allocations: 1.133 MB / 0.4944 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.1829, allocations: 196.1 kB / 0.4946 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1831, allocations: 19.92 kB / 0.4946 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005764/0.1836, allocations: 51.95 kB / 0.4947 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1838, allocations: 35.94 kB / 0.4947 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.1838, allocations: 15.94 kB / 0.4947 GB, free: 9.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.1845, allocations: 459 kB / 0.4952 GB, free: 9.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1845, allocations: 0 / 0.4952 GB, free: 9.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008342/0.1853, allocations: 196 kB / 0.4953 GB, free: 9.277 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.002283/0.1876, allocations: 1.694 MB / 0.497 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.1898, allocations: 0.9899 MB / 0.498 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1898, allocations: 0 / 0.498 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.1905, allocations: 279.8 kB / 0.4982 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.1916, allocations: 181.8 kB / 0.4984 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.204/0.3956, allocations: 6.873 MB / 0.5051 GB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.3962, allocations: 0.9492 MB / 0.506 GB, free: 39.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007402/0.397, allocations: 154.4 kB / 0.5062 GB, free: 39.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.3973, allocations: 262.2 kB / 0.5064 GB, free: 39.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3973, allocations: 5.875 kB / 0.5064 GB, free: 39.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.4373, allocations: 14.31 MB / 0.5204 GB, free: 35.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.131, allocations: 11.73 kB / 0.5204 GB, free: 35.68 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