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.00129/0.00129, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001298, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 79.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3153, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001488/0.3169, allocations: 0.5254 MB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000399/0.3173, allocations: 153.7 kB / 0.5313 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.3173, allocations: 0 / 0.5313 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.3173, allocations: 0 / 0.5313 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.3176, allocations: 46.69 kB / 0.5313 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.758e-06/0.3176, allocations: 3.938 kB / 0.5313 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.661e-05/0.3176, allocations: 22.42 kB / 0.5313 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.3177, allocations: 7.984 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.049e-05/0.3177, allocations: 10.7 kB / 0.5314 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.3178, allocations: 15.8 kB / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3178, allocations: 2.312 kB / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3179, allocations: 47.23 kB / 0.5314 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.3179, allocations: 11.58 kB / 0.5314 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.318, allocations: 11.88 kB / 0.5314 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3181, allocations: 40.8 kB / 0.5315 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3181, allocations: 4 kB / 0.5315 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3181, allocations: 3.938 kB / 0.5315 GB, free: 12.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3181, allocations: 0 / 0.5315 GB, free: 12.7 MB / 398.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.0003452/0.3184, allocations: 342.6 kB / 0.5318 GB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3185, allocations: 10.59 kB / 0.5318 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3185, allocations: 34.75 kB / 0.5319 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.3186, allocations: 4.438 kB / 0.5319 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3187, allocations: 164.4 kB / 0.532 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3187, allocations: 7.969 kB / 0.532 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3187, allocations: 8.375 kB / 0.532 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3189, allocations: 56.38 kB / 0.5321 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3189, allocations: 3.938 kB / 0.5321 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.3189, allocations: 3.812 kB / 0.5321 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3189, allocations: 0 / 0.5321 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.33e-05/0.319, allocations: 56.19 kB / 0.5321 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3192, allocations: 175.2 kB / 0.5323 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3193, allocations: 84.02 kB / 0.5324 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.3194, allocations: 31.33 kB / 0.5324 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/0.3198, allocations: 252.9 kB / 0.5327 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3198, allocations: 35.75 kB / 0.5327 GB, free: 11.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3198, allocations: 0 / 0.5327 GB, free: 11.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002246/0.32, allocations: 106.2 kB / 0.5328 GB, free: 11.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3201, allocations: 53.78 kB / 0.5329 GB, free: 11.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.3202, allocations: 95.42 kB / 0.5329 GB, free: 11.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3202, allocations: 29.8 kB / 0.533 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.3202, allocations: 84.08 kB / 0.5331 GB, free: 11.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.3203, allocations: 35.84 kB / 0.5331 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.3203, allocations: 20.66 kB / 0.5331 GB, free: 10.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3205, allocations: 320.2 kB / 0.5334 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.3205, allocations: 18.25 kB / 0.5334 GB, free: 10.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.3205, allocations: 18.33 kB / 0.5334 GB, free: 10.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.3206, allocations: 49.36 kB / 0.5335 GB, free: 10.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3206, allocations: 1.125 kB / 0.5335 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001276/0.3208, allocations: 94.75 kB / 0.5336 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3208, allocations: 10.41 kB / 0.5336 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3208, allocations: 0 / 0.5336 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3208, allocations: 0 / 0.5336 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.3209, allocations: 17.41 kB / 0.5336 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3209, allocations: 0 / 0.5336 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.321, allocations: 1.781 kB / 0.5336 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.321, allocations: 5.953 kB / 0.5336 GB, free: 10.53 MB / 398.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 9.443e-05/0.3211, allocations: 123.7 kB / 0.5337 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.3211, allocations: 9.953 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.3213, allocations: 105.1 kB / 0.5338 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3213, allocations: 5.484 kB / 0.5339 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3213, allocations: 0 / 0.5339 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3213, allocations: 0 / 0.5339 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.3215, allocations: 176 kB / 0.534 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3215, allocations: 5.5 kB / 0.534 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.3216, allocations: 15.94 kB / 0.534 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3216, allocations: 5.656 kB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3216, allocations: 3.984 kB / 0.534 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3216, allocations: 1.625 kB / 0.5341 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3216, allocations: 0 / 0.5341 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3218, allocations: 112.8 kB / 0.5342 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.3218, allocations: 78.67 kB / 0.5342 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3218, allocations: 9.422 kB / 0.5342 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.189e-05/0.3219, allocations: 4 kB / 0.5342 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.3219, allocations: 6.844 kB / 0.5343 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3219, allocations: 2.219 kB / 0.5343 GB, free: 9.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.3219, allocations: 76.34 kB / 0.5343 GB, free: 9.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 0 / 0.5343 GB, free: 9.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.3221, allocations: 15.66 kB / 0.5343 GB, free: 9.809 MB / 398.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.0005041/0.3226, allocations: 0.6658 MB / 0.535 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.3228, allocations: 54.05 kB / 0.535 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3228, allocations: 3.938 kB / 0.535 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.3228, allocations: 32.55 kB / 0.5351 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.323, allocations: 5.375 kB / 0.5351 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.3234, allocations: 171.7 kB / 0.5352 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3238, allocations: 0.6921 MB / 0.5359 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.3238, allocations: 11.89 kB / 0.5359 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.3238, allocations: 15.56 kB / 0.5359 GB, free: 8.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3239, allocations: 0 / 0.5359 GB, free: 8.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.3457, allocations: 1.561 MB / 0.5375 GB, free: 7.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.926, allocations: 3.281 kB / 0.5375 GB, free: 7.375 MB / 398.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