Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009016/0.0009017, allocations: 89.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.001042/0.001042, allocations: 203.3 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.279/1.279, allocations: 227.7 MB / 246.8 MB, free: 9.586 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002505, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09111, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0005117/0.09165, allocations: 210.9 kB / 483.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.09437, allocations: 2.151 MB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.06e-05/0.0944, allocations: 0 / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.09442, allocations: 0 / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.461e-05/0.09444, allocations: 0 / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.0953, allocations: 306.5 kB / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.925e-05/0.09534, allocations: 0 / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.09538, allocations: 0 / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.0954, allocations: 7.984 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0318/0.1272, allocations: 3.2 MB / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1272, allocations: 0 / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.1273, allocations: 4 kB / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.1273, allocations: 3.984 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.1274, allocations: 25.7 kB / 489.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.468e-05/0.1274, allocations: 11.94 kB / 489.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1275, allocations: 7.984 kB / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1275, allocations: 0 / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1275, allocations: 4 kB / 489.1 MB, free: 14.61 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002272/0.1277, allocations: 303.6 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1277, allocations: 12.94 kB / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.1278, allocations: 106 kB / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.128, allocations: 84.2 kB / 489.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1281, allocations: 239.7 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.1282, allocations: 154.9 kB / 490 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1282, allocations: 162.4 kB / 490.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.937e-05/0.1283, allocations: 104.9 kB / 490.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.1283, allocations: 75.28 kB / 490.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.1284, allocations: 150.6 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.1284, allocations: 154.6 kB / 490.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.1285, allocations: 154.5 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.1287, allocations: 449.9 kB / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.1288, allocations: 173 kB / 491.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.1288, allocations: 84.14 kB / 491.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1289, allocations: 75.28 kB / 491.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.1289, allocations: 105.8 kB / 491.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1289, allocations: 0 / 491.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.561e-05/0.129, allocations: 33.7 kB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.1291, allocations: 186 kB / 491.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.1291, allocations: 93.86 kB / 491.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1292, allocations: 29.7 kB / 492 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.1292, allocations: 80.14 kB / 492 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.1292, allocations: 0 / 492 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.1292, allocations: 9.719 kB / 492 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.1293, allocations: 310.8 kB / 492.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-06/0.1293, allocations: 0 / 492.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.1294, allocations: 13.84 kB / 492.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.1294, allocations: 83.36 kB / 492.4 MB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-05/0.1294, allocations: 75.28 kB / 492.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.403e-05/0.1295, allocations: 37.64 kB / 492.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.1295, allocations: 83.27 kB / 492.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.1295, allocations: 79.22 kB / 492.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.308e-05/0.1296, allocations: 150.6 kB / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.247e-05/0.1296, allocations: 83.22 kB / 492.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.556e-05/0.1297, allocations: 154.6 kB / 493.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.1298, allocations: 75.28 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.1298, allocations: 87.22 kB / 493.2 MB, free: 10.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001007/0.1299, allocations: 264.3 kB / 493.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.13, allocations: 105 kB / 493.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.13, allocations: 116 kB / 493.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.706e-05/0.1301, allocations: 176.3 kB / 493.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.898e-05/0.1301, allocations: 184.2 kB / 494.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/0.1302, allocations: 180.2 kB / 494.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1304, allocations: 401.2 kB / 494.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/0.1304, allocations: 108.9 kB / 494.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1305, allocations: 101 kB / 494.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.95e-05/0.1305, allocations: 196.1 kB / 495 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.1306, allocations: 180.3 kB / 495.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.144e-05/0.1306, allocations: 180.2 kB / 495.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.335e-05/0.1307, allocations: 180.2 kB / 495.6 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.1308, allocations: 316 kB / 495.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1309, allocations: 190.1 kB / 496.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.131, allocations: 176.3 kB / 496.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.131, allocations: 104.9 kB / 496.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.1311, allocations: 188.2 kB / 496.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.1312, allocations: 108.9 kB / 496.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.853e-05/0.1312, allocations: 75.28 kB / 496.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1312, allocations: 0 / 496.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1314, allocations: 4 kB / 496.7 MB, free: 6.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.0003228/0.1318, allocations: 0.801 MB / 497.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.158e-05/0.1318, allocations: 7.938 kB / 497.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1318, allocations: 0 / 497.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.1318, allocations: 0 / 497.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1322, allocations: 0.5244 MB / 498 MB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.1325, allocations: 175.9 kB / 498.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1327, allocations: 0.6692 MB / 498.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.1327, allocations: 0 / 498.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-06/0.1327, allocations: 11.44 kB / 498.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1327, allocations: 0 / 498.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/0.3818, allocations: 0.8199 MB / 499.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.3821, allocations: 211.5 kB / 499.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.127, allocations: 7.875 kB / 499.9 MB, free: 3.242 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches