Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.001148/0.001148, allocations: 96.14 kB / 15.87 MB, free: 16 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.001134/0.001134, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.29/1.29, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.2888/0.2888, allocations: 43.49 MB / 313.5 MB, free: 8.242 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.001282/0.001282, allocations: 59.91 kB / 382.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 57.79 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00159/0.1116, allocations: 0.5542 MB / 440.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1132, allocations: 1.448 MB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.252e-05/0.1132, allocations: 0 / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1133, allocations: 0 / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.598e-05/0.1133, allocations: 3.938 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.1138, allocations: 147.8 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.531e-05/0.1138, allocations: 11.92 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.1139, allocations: 4 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.1139, allocations: 4 kB / 442.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.1139, allocations: 11.94 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.114, allocations: 0 / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.1143, allocations: 263.6 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.1143, allocations: 4 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.1144, allocations: 0 / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1146, allocations: 143.7 kB / 442.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1146, allocations: 0 / 442.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1146, allocations: 0 / 442.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1146, allocations: 0 / 442.5 MB, free: 11.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003737/0.115, allocations: 351.4 kB / 442.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.115, allocations: 8.031 kB / 442.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.115, allocations: 30.75 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.1151, allocations: 4.938 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.052e-05/0.1152, allocations: 164.7 kB / 443 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.1152, allocations: 384 / 443 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1152, allocations: 384 / 443 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1153, allocations: 45.81 kB / 443.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1153, allocations: 3.938 kB / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1153, allocations: 0 / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1154, allocations: 4 kB / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.1154, allocations: 8 kB / 443.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.1157, allocations: 248.8 kB / 443.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.1158, allocations: 14.58 kB / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.1158, allocations: 8.922 kB / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.1158, allocations: 0 / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1158, allocations: 38.55 kB / 443.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1158, allocations: 0 / 443.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.116, allocations: 41.64 kB / 443.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.116, allocations: 55.39 kB / 443.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.1161, allocations: 93.86 kB / 443.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1161, allocations: 25.7 kB / 443.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.1161, allocations: 88.05 kB / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.1162, allocations: 256 / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.1162, allocations: 21.62 kB / 443.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1163, allocations: 318.8 kB / 444 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.1163, allocations: 8 kB / 444 MB, free: 10.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.1163, allocations: 18.58 kB / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.1164, allocations: 30.52 kB / 444.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1164, allocations: 0 / 444.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.354e-05/0.1165, allocations: 45.62 kB / 444.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1165, allocations: 8 kB / 444.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1165, allocations: 0 / 444.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1165, allocations: 0 / 444.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.1166, allocations: 8 kB / 444.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1166, allocations: 11.92 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.1166, allocations: 8.078 kB / 444.2 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1166, allocations: 4 kB / 444.2 MB, free: 9.988 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.763e-05/0.1167, allocations: 117.7 kB / 444.3 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.1167, allocations: 0 / 444.3 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1168, allocations: 48.75 kB / 444.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1168, allocations: 0 / 444.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1168, allocations: 0 / 444.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1168, allocations: 8.031 kB / 444.3 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.117, allocations: 145.6 kB / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.117, allocations: 0 / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.117, allocations: 0 / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.117, allocations: 4 kB / 444.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.117, allocations: 3.984 kB / 444.5 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.117, allocations: 0 / 444.5 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.117, allocations: 3.938 kB / 444.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.1171, allocations: 139.4 kB / 444.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.1172, allocations: 77.11 kB / 444.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.1172, allocations: 0 / 444.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.1172, allocations: 7.984 kB / 444.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.1173, allocations: 0 / 444.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1173, allocations: 0 / 444.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.775e-05/0.1173, allocations: 75.28 kB / 444.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1173, allocations: 4 kB / 444.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1176, allocations: 40 kB / 444.8 MB, free: 9.227 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 (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.0004451/0.118, allocations: 0.7086 MB / 445.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.1181, allocations: 15.92 kB / 445.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1181, allocations: 0 / 445.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.1181, allocations: 29.92 kB / 445.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.1183, allocations: 8 kB / 445.6 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1187, allocations: 128.2 kB / 445.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1189, allocations: 0.6731 MB / 446.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.119, allocations: 3.984 kB / 446.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.119, allocations: 15.38 kB / 446.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.119, allocations: 4 kB / 446.4 MB, free: 7.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/1.164, allocations: 1.717 MB / 448.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.164, allocations: 211.1 kB / 448.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.693, allocations: 0 / 448.3 MB, free: 5.562 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches