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.001027/0.001027, 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.001051/0.001051, 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.297/1.297, 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.2002/0.2002, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 77.97 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1081, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00203/0.1102, allocations: 0.5151 MB / 480.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.1107, allocations: 158.2 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.1107, allocations: 0 / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.1108, allocations: 3.938 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.111, allocations: 31.84 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.111, allocations: 3.938 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.1111, allocations: 31.86 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1112, allocations: 0 / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.1112, allocations: 15.92 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.1113, allocations: 19.84 kB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.1113, allocations: 0 / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1114, allocations: 47.95 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.1114, allocations: 4 kB / 481 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.1114, allocations: 11.92 kB / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1115, allocations: 43.88 kB / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1115, allocations: 0 / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1116, allocations: 0 / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1116, allocations: 4 kB / 481 MB, free: 4.316 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.000331/0.1119, allocations: 343.7 kB / 481.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1119, allocations: 8.031 kB / 481.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.112, allocations: 38.75 kB / 481.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.112, allocations: 8.844 kB / 481.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1121, allocations: 168.3 kB / 481.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1122, allocations: 4.375 kB / 481.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1122, allocations: 4.375 kB / 481.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1123, allocations: 54.25 kB / 481.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1123, allocations: 3.938 kB / 481.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1123, allocations: 4 kB / 481.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1123, allocations: 7.984 kB / 481.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1125, allocations: 55.89 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1126, allocations: 169.7 kB / 481.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1128, allocations: 78.55 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1128, allocations: 24.86 kB / 482 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.1132, allocations: 259.6 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.1132, allocations: 34.5 kB / 482.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.1132, allocations: 0 / 482.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002273/0.1135, allocations: 117.4 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1135, allocations: 55.41 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.1136, allocations: 93.86 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1136, allocations: 25.7 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.1137, allocations: 80.14 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1137, allocations: 35.53 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.1137, allocations: 25.72 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1139, allocations: 314.8 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.1139, allocations: 16 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.1139, allocations: 23.98 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.114, allocations: 48.8 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.114, allocations: 4.125 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000133/0.1142, allocations: 89.52 kB / 483.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1142, allocations: 14.44 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1142, allocations: 0.6562 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1142, allocations: 0 / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.1143, allocations: 12 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1143, allocations: 0 / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.1144, allocations: 11.88 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1144, allocations: 4 kB / 483.2 MB, free: 1.836 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.638e-05/0.1145, allocations: 117.8 kB / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1145, allocations: 7.875 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.1147, allocations: 101.6 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1147, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1147, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1147, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1148, allocations: 177.6 kB / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1149, allocations: 0 / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.1149, allocations: 15.94 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1149, allocations: 11.94 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.115, allocations: 4 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.115, allocations: 0 / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.115, allocations: 0 / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1151, allocations: 113 kB / 483.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.1152, allocations: 84.95 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1152, allocations: 11.94 kB / 483.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.1152, allocations: 0 / 483.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1152, allocations: 11.98 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1153, allocations: 0 / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.324e-05/0.1153, allocations: 75.28 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1153, allocations: 0 / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1155, allocations: 16 kB / 483.9 MB, free: 1 MB / 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.0004383/0.1159, allocations: 0.6634 MB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1161, allocations: 63.92 kB / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1161, allocations: 0 / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.1162, allocations: 31.92 kB / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.1163, allocations: 6.406 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.1167, allocations: 170.5 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.117, allocations: 0.6885 MB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.308e-05/0.117, allocations: 11.98 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.1171, allocations: 11.44 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1171, allocations: 0 / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05584/0.1729, allocations: 1.525 MB / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.539/9.712, allocations: 11.2 kB / 487.1 MB, free: 13.8 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