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.001161/0.001161, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 77.56 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1189, allocations: 62.45 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002161/0.1211, allocations: 0.5864 MB / 480.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004547/0.1216, allocations: 163.5 kB / 480.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.1216, allocations: 0 / 480.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.1217, allocations: 0 / 480.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1219, allocations: 31.84 kB / 480.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.937e-06/0.1219, allocations: 4 kB / 480.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.122, allocations: 23.92 kB / 480.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.1221, allocations: 7.922 kB / 480.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.1221, allocations: 7.938 kB / 480.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.1222, allocations: 15.92 kB / 480.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1222, allocations: 0 / 480.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1223, allocations: 51.95 kB / 480.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1223, allocations: 7.984 kB / 480.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.1223, allocations: 7.875 kB / 480.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1225, allocations: 47.88 kB / 480.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1225, allocations: 0 / 480.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1225, allocations: 4 kB / 480.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1225, allocations: 0 / 480.5 MB, free: 4.574 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.0003418/0.1228, allocations: 335.8 kB / 480.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1229, allocations: 11.97 kB / 480.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.1229, allocations: 38.75 kB / 480.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.123, allocations: 4.844 kB / 480.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1231, allocations: 164.4 kB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1231, allocations: 4.375 kB / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1231, allocations: 8.375 kB / 481.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1233, allocations: 58.19 kB / 481.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1233, allocations: 3.938 kB / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1233, allocations: 0 / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1233, allocations: 4 kB / 481.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1235, allocations: 59.88 kB / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1237, allocations: 169.7 kB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1238, allocations: 86.58 kB / 481.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.1239, allocations: 24.86 kB / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.1242, allocations: 259.3 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1243, allocations: 34.56 kB / 481.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1243, allocations: 0 / 481.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002308/0.1245, allocations: 109.6 kB / 481.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1246, allocations: 55.41 kB / 481.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.1247, allocations: 93.86 kB / 482 MB, free: 2.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1247, allocations: 29.7 kB / 482.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.1247, allocations: 80.14 kB / 482.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.1248, allocations: 31.55 kB / 482.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1248, allocations: 21.72 kB / 482.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1249, allocations: 318.8 kB / 482.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.125, allocations: 19.94 kB / 482.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.125, allocations: 19.98 kB / 482.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.818e-05/0.1251, allocations: 45.55 kB / 482.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1251, allocations: 4 kB / 482.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000135/0.1252, allocations: 93.45 kB / 482.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1253, allocations: 11.94 kB / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1253, allocations: 0 / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1253, allocations: 0 / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.1254, allocations: 12 kB / 482.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1254, allocations: 0 / 482.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.1254, allocations: 11.94 kB / 482.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1254, allocations: 7.922 kB / 482.7 MB, free: 2.098 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 8.646e-05/0.1255, allocations: 121.8 kB / 482.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1256, allocations: 3.938 kB / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.1257, allocations: 97.58 kB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1258, allocations: 0 / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1258, allocations: 0 / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1258, allocations: 3.984 kB / 483 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1259, allocations: 181.5 kB / 483.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1259, allocations: 0 / 483.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.126, allocations: 12 kB / 483.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.126, allocations: 11.94 kB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.126, allocations: 3.984 kB / 483.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.126, allocations: 0 / 483.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.126, allocations: 0 / 483.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.1262, allocations: 109.1 kB / 483.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.1262, allocations: 84.95 kB / 483.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1263, allocations: 15.92 kB / 483.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.445e-05/0.1263, allocations: 288 / 483.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.1263, allocations: 12 kB / 483.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1263, allocations: 0 / 483.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.1264, allocations: 79.22 kB / 483.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 0 / 483.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1266, allocations: 23.98 kB / 483.5 MB, free: 1.25 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.0004953/0.1271, allocations: 0.6554 MB / 484.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1272, allocations: 55.92 kB / 484.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1273, allocations: 0 / 484.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.1273, allocations: 31.98 kB / 484.2 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1275, allocations: 0 / 484.2 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.1279, allocations: 190.4 kB / 484.4 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1282, allocations: 0.6846 MB / 485.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.1282, allocations: 11.92 kB / 485.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.1283, allocations: 15.44 kB / 485.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1283, allocations: 0 / 485.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1393, allocations: 1.462 MB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1395, allocations: 201.2 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.855, allocations: 0 / 486.8 MB, free: 13.92 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