Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.001185/0.00119, allocations: 106.1 kB / 16.27 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 185 kB / 17.19 MB, free: 5.957 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.282/1.282, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1935/0.1935, allocations: 43.51 MB / 313.9 MB, free: 0.5312 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.001407/0.001407, allocations: 66.83 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.07992, allocations: 57.78 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001575/0.08153, allocations: 0.5013 MB / 441.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.08287, allocations: 1.383 MB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.08291, allocations: 0 / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.08295, allocations: 7.938 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.294e-05/0.08298, allocations: 4 kB / 442.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.08358, allocations: 207.1 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.804e-05/0.08363, allocations: 15.92 kB / 442.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.08367, allocations: 4 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.08369, allocations: 3.938 kB / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.08373, allocations: 7.984 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.08375, allocations: 0 / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.08408, allocations: 263.7 kB / 443 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.0841, allocations: 3.938 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.08412, allocations: 11.98 kB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.0843, allocations: 139.7 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.08431, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08431, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.08432, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002582/0.08458, allocations: 343.7 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.08462, allocations: 11.89 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.455e-05/0.08465, allocations: 34.69 kB / 443.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.08468, allocations: 4.938 kB / 443.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.131e-05/0.08475, allocations: 168.3 kB / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.08476, allocations: 384 / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.08477, allocations: 384 / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.135e-05/0.08485, allocations: 41.81 kB / 443.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.08486, allocations: 0 / 443.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.08487, allocations: 0 / 443.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.08488, allocations: 3.984 kB / 443.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.0849, allocations: 4 kB / 443.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.445e-05/0.08499, allocations: 141.7 kB / 443.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.936e-05/0.08503, allocations: 30.55 kB / 443.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.08505, allocations: 8.844 kB / 443.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.08506, allocations: 0 / 443.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.08508, allocations: 38.56 kB / 444 MB, free: 3.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.08509, allocations: 0 / 444 MB, free: 3.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.0852, allocations: 29.7 kB / 444 MB, free: 3.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.08523, allocations: 59.47 kB / 444 MB, free: 3.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.155e-05/0.08527, allocations: 101.8 kB / 444.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.08529, allocations: 25.7 kB / 444.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.081e-05/0.0853, allocations: 80.14 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.08533, allocations: 7.906 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.08535, allocations: 9.719 kB / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.33e-05/0.08539, allocations: 310.8 kB / 444.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.08541, allocations: 8 kB / 444.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-06/0.08542, allocations: 4.125 kB / 444.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.08544, allocations: 8.859 kB / 444.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.08545, allocations: 0 / 444.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.758e-05/0.0855, allocations: 45.56 kB / 444.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.08552, allocations: 4 kB / 444.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.08553, allocations: 3.938 kB / 444.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.08554, allocations: 0 / 444.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.0856, allocations: 4 kB / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.08561, allocations: 0 / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.08563, allocations: 4.094 kB / 444.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.08564, allocations: 0 / 444.7 MB, free: 2.535 MB / 318.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 (1): * Single equations (assignments): 1 * 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 3.543e-05/0.08568, allocations: 109.8 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.08569, allocations: 11.94 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.0858, allocations: 48.75 kB / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.08581, allocations: 4.031 kB / 444.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.08582, allocations: 0 / 444.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.08582, allocations: 0 / 444.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.056e-05/0.08588, allocations: 153.7 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.08589, allocations: 0 / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.08589, allocations: 3.938 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.0859, allocations: 3.938 kB / 445 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.08591, allocations: 0 / 445 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.08591, allocations: 4 kB / 445 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.08592, allocations: 0 / 445 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.036e-05/0.08597, allocations: 61.12 kB / 445 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.08599, allocations: 81.05 kB / 445.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.08601, allocations: 0 / 445.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.08607, allocations: 4 kB / 445.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.08609, allocations: 7.984 kB / 445.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.0861, allocations: 0 / 445.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.506e-05/0.08612, allocations: 75.28 kB / 445.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08613, allocations: 4.125 kB / 445.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.08638, allocations: 40 kB / 445.3 MB, free: 1.832 MB / 318.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003324/0.08672, allocations: 0.6358 MB / 445.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.595e-05/0.0868, allocations: 11.98 kB / 445.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.0868, allocations: 4.094 kB / 445.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.08683, allocations: 29.7 kB / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.08698, allocations: 1.203 kB / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.08728, allocations: 134.6 kB / 446.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.08736, allocations: 0.669 MB / 446.7 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.495e-05/0.08739, allocations: 0 / 446.7 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.08741, allocations: 11.44 kB / 446.7 MB, free: 244 kB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08742, allocations: 4.062 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.1041, allocations: 1.821 MB / 448.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.525, allocations: 3.688 kB / 448.6 MB, free: 14.41 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches