Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 202.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1843/0.1843, allocations: 46.19 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002321/0.0002321, allocations: 4 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09737, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006628/0.09807, allocations: 261.3 kB / 483.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004071/0.0985, allocations: 163.5 kB / 483.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.09853, allocations: 0 / 483.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.062e-05/0.09856, allocations: 4 kB / 483.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.09877, allocations: 31.84 kB / 483.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.09878, allocations: 3.938 kB / 483.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.241e-05/0.09883, allocations: 19.94 kB / 483.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.09888, allocations: 3.984 kB / 483.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.09891, allocations: 15.88 kB / 483.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.09897, allocations: 15.91 kB / 483.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.09898, allocations: 0 / 483.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.0991, allocations: 47.95 kB / 483.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.09912, allocations: 7.984 kB / 483.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.09916, allocations: 41.58 kB / 483.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.584e-05/0.09926, allocations: 39.88 kB / 483.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09927, allocations: 0 / 483.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09928, allocations: 4 kB / 483.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.09928, allocations: 0 / 483.8 MB, free: 3.422 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003128/0.0996, allocations: 327.8 kB / 484.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.09965, allocations: 16.81 kB / 484.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.09969, allocations: 34.75 kB / 484.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.09972, allocations: 8.844 kB / 484.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.09983, allocations: 160.4 kB / 484.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.09985, allocations: 4.375 kB / 484.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.09987, allocations: 12.36 kB / 484.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.09999, allocations: 58.19 kB / 484.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1, allocations: 3.938 kB / 484.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1, allocations: 0 / 484.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1, allocations: 0 / 484.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1001, allocations: 59.94 kB / 484.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1003, allocations: 165.7 kB / 484.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1005, allocations: 82.59 kB / 484.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1005, allocations: 32.84 kB / 484.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.1008, allocations: 255.3 kB / 485 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1009, allocations: 34.56 kB / 485 MB, free: 1.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1009, allocations: 0 / 485 MB, free: 1.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002259/0.1011, allocations: 113.6 kB / 485.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1012, allocations: 55.41 kB / 485.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.1012, allocations: 93.86 kB / 485.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1013, allocations: 29.7 kB / 485.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.1013, allocations: 84.12 kB / 485.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1013, allocations: 31.55 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1014, allocations: 13.72 kB / 485.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1015, allocations: 314.8 kB / 485.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.1015, allocations: 20.11 kB / 485.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.1015, allocations: 23.92 kB / 485.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.1016, allocations: 48.86 kB / 485.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1016, allocations: 0 / 485.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001227/0.1018, allocations: 85.62 kB / 485.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1018, allocations: 7.938 kB / 485.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1018, allocations: 0.6562 kB / 485.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1018, allocations: 0 / 485.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.1019, allocations: 23.98 kB / 486 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1019, allocations: 0 / 486 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.102, allocations: 7.844 kB / 486 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.102, allocations: 11.94 kB / 486 MB, free: 0.957 MB / 350.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 (10): * Single equations (assignments): 10 * 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 7.006e-05/0.1021, allocations: 113.8 kB / 486.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1021, allocations: 11.88 kB / 486.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1023, allocations: 101.6 kB / 486.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1023, allocations: 4 kB / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1023, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1023, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1025, allocations: 169.6 kB / 486.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1025, allocations: 4 kB / 486.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.1026, allocations: 15.98 kB / 486.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1026, allocations: 3.938 kB / 486.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1026, allocations: 4 kB / 486.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1026, allocations: 0 / 486.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1026, allocations: 0 / 486.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.1028, allocations: 117 kB / 486.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.1028, allocations: 84.95 kB / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1028, allocations: 7.938 kB / 486.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.1029, allocations: 4 kB / 486.6 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.1029, allocations: 7.984 kB / 486.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1029, allocations: 4 kB / 486.6 MB, free: 220 kB / 350.1 MB Notification: Performance of sorting global known variables: time 2.836e-05/0.1029, allocations: 75.28 kB / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1029, allocations: 0 / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.1031, allocations: 16 kB / 486.7 MB, free: 128 kB / 350.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 (10): * Single equations (assignments): 10 * 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.0004369/0.1036, allocations: 0.6634 MB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1037, allocations: 51.97 kB / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1037, allocations: 0 / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.1038, allocations: 31.94 kB / 487.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1039, allocations: 0 / 487.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.1043, allocations: 196.2 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.1046, allocations: 0.6878 MB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.559e-05/0.1046, allocations: 8 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.1047, allocations: 19.38 kB / 488.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1047, allocations: 0 / 488.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.115, allocations: 1.357 MB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.1152, allocations: 204.2 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.793, allocations: 2.109 kB / 489.9 MB, free: 12.89 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches