Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009572, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009972/0.0009972, allocations: 185.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 223.1 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3089/0.3089, allocations: 43.57 MB / 315 MB, free: 8.695 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 16 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09518, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0005918/0.0958, allocations: 316.2 kB / 443.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003129/0.09613, allocations: 121.2 kB / 444 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.09616, allocations: 0 / 444 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.09618, allocations: 0 / 444 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.09636, allocations: 27.89 kB / 444 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.09638, allocations: 4 kB / 444 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.236e-05/0.09643, allocations: 19.92 kB / 444 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.09647, allocations: 0 / 444 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.09649, allocations: 19.88 kB / 444 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.09654, allocations: 11.92 kB / 444 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.09656, allocations: 0 / 444 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.942e-05/0.09666, allocations: 47.95 kB / 444.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.09669, allocations: 15.91 kB / 444.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.09672, allocations: 33.64 kB / 444.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.073e-05/0.09681, allocations: 43.88 kB / 444.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09682, allocations: 0 / 444.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09683, allocations: 0 / 444.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.09684, allocations: 0 / 444.2 MB, free: 11.93 MB / 382.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.0002411/0.09709, allocations: 347.7 kB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.09713, allocations: 8.031 kB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.09717, allocations: 34.75 kB / 444.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.0972, allocations: 4.938 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.0973, allocations: 168.4 kB / 444.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.09731, allocations: 4.375 kB / 444.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.09733, allocations: 4.375 kB / 444.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.09745, allocations: 62.12 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.09747, allocations: 3.938 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.09748, allocations: 0 / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.0975, allocations: 8 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.09759, allocations: 55.94 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.09775, allocations: 165.6 kB / 445 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.09789, allocations: 86.58 kB / 445.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.09794, allocations: 24.86 kB / 445.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.09824, allocations: 263.2 kB / 445.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.09827, allocations: 34.56 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.09828, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002019/0.09849, allocations: 105.7 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.09853, allocations: 55.41 kB / 445.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.09858, allocations: 89.86 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.09861, allocations: 29.7 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.219e-05/0.09863, allocations: 80.14 kB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.09868, allocations: 43.52 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.0987, allocations: 13.72 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.0988, allocations: 318.8 kB / 446.2 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.09884, allocations: 16 kB / 446.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.09887, allocations: 15.98 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.762e-05/0.09896, allocations: 61.3 kB / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09896, allocations: 0 / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.09908, allocations: 85.61 kB / 446.3 MB, free: 9.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.0991, allocations: 7.938 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.09911, allocations: 4 kB / 446.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.09913, allocations: 4 kB / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.09922, allocations: 12 kB / 446.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.09923, allocations: 0 / 446.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.09926, allocations: 3.906 kB / 446.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.09927, allocations: 4 kB / 446.4 MB, free: 9.461 MB / 382.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 6.898e-05/0.09935, allocations: 121.8 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.09936, allocations: 3.938 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.09954, allocations: 105.6 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.09955, allocations: 0 / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.09955, allocations: 0 / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.09956, allocations: 0 / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.09967, allocations: 177.6 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.09968, allocations: 0 / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.09975, allocations: 15.98 kB / 446.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.09976, allocations: 3.938 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.09977, allocations: 4 kB / 446.8 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.09978, allocations: 4 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.09979, allocations: 4 kB / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.09993, allocations: 126.8 kB / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.09997, allocations: 81.05 kB / 447 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.09998, allocations: 3.938 kB / 447 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.1, allocations: 8 kB / 447 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1, allocations: 3.984 kB / 447 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1, allocations: 4 kB / 447 MB, free: 8.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.559e-05/0.1001, allocations: 79.28 kB / 447.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1001, allocations: 0 / 447.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.1003, allocations: 16 kB / 447.1 MB, free: 8.617 MB / 382.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.0003618/0.1006, allocations: 0.663 MB / 447.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1008, allocations: 55.91 kB / 447.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1008, allocations: 4.094 kB / 447.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.1008, allocations: 35.92 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.101, allocations: 4 kB / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.1014, allocations: 180.4 kB / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.1016, allocations: 0.6809 MB / 448.7 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.1016, allocations: 8.562 kB / 448.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.1016, allocations: 19.42 kB / 448.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1017, allocations: 0 / 448.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009196/0.1109, allocations: 1.351 MB / 450.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.111, allocations: 206.2 kB / 450.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.788, allocations: 0 / 450.3 MB, free: 5.285 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches