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.005719/0.005719, allocations: 101.5 kB / 15.88 MB, free: 6.316 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.001409/0.001409, allocations: 193.5 kB / 16.79 MB, free: 6.242 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.252/1.252, allocations: 205.1 MB / 222.7 MB, free: 4.734 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.303/0.303, allocations: 43.49 MB / 313.5 MB, free: 8.516 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.001293/0.001293, allocations: 66.56 kB / 382.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 57.78 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001598/0.1059, allocations: 0.5697 MB / 440.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1075, allocations: 1.44 MB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.219e-05/0.1075, allocations: 0 / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.1075, allocations: 0 / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.242e-05/0.1075, allocations: 4 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.108, allocations: 155.7 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.329e-05/0.1081, allocations: 4 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.1081, allocations: 0 / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.1081, allocations: 11.92 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.1082, allocations: 3.984 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1082, allocations: 0 / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.1086, allocations: 267.6 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.1086, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.1086, allocations: 3.984 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1088, allocations: 143.7 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1088, allocations: 0 / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1088, allocations: 3.984 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1088, allocations: 0 / 442.5 MB, free: 12.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003179/0.1092, allocations: 339.5 kB / 442.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1092, allocations: 12.03 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.1092, allocations: 30.75 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.1093, allocations: 0.9375 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.1094, allocations: 164.6 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1094, allocations: 4.375 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.1094, allocations: 4.375 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.1095, allocations: 45.75 kB / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.1095, allocations: 0 / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1095, allocations: 4 kB / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1095, allocations: 0 / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.1095, allocations: 0 / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.1097, allocations: 145.7 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.27e-05/0.1097, allocations: 22.58 kB / 443.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.1097, allocations: 12.94 kB / 443.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.1098, allocations: 0 / 443.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1098, allocations: 38.44 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1098, allocations: 0 / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.1099, allocations: 33.7 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.1099, allocations: 55.34 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.11, allocations: 106 kB / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.11, allocations: 29.64 kB / 443.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.1101, allocations: 80.14 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.1101, allocations: 3.906 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.1101, allocations: 13.72 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1102, allocations: 314.8 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.1102, allocations: 0 / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.1102, allocations: 0 / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.235e-05/0.1103, allocations: 16.98 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1103, allocations: 0 / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.235e-05/0.1103, allocations: 41.62 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.1104, allocations: 4 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1104, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1104, allocations: 4 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.1104, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1104, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.1105, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1105, allocations: 4.031 kB / 444 MB, free: 10.41 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 (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 5.821e-05/0.1105, allocations: 113.8 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.1106, allocations: 3.938 kB / 444.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1107, allocations: 44.75 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1107, allocations: 0 / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1107, allocations: 0 / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1107, allocations: 8.031 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.413e-05/0.1108, allocations: 149.7 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1108, allocations: 0 / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-06/0.1108, allocations: 3.938 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1108, allocations: 4 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1108, allocations: 0 / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1108, allocations: 0 / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1108, allocations: 4 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.391e-05/0.1109, allocations: 65.06 kB / 444.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.1109, allocations: 85.05 kB / 444.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.1109, allocations: 0 / 444.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.17e-05/0.111, allocations: 4 kB / 444.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.111, allocations: 3.984 kB / 444.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.111, allocations: 0 / 444.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.1111, allocations: 83.22 kB / 444.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1111, allocations: 0 / 444.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1113, allocations: 36.12 kB / 444.6 MB, free: 9.707 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.0004356/0.1117, allocations: 0.6513 MB / 445.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.158e-05/0.1118, allocations: 11.92 kB / 445.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1118, allocations: 0 / 445.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.1119, allocations: 29.8 kB / 445.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.112, allocations: 12.05 kB / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.1123, allocations: 128.3 kB / 445.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1125, allocations: 0.6692 MB / 446.1 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.634e-05/0.1126, allocations: 4 kB / 446.1 MB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.1126, allocations: 7.438 kB / 446.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1126, allocations: 0 / 446.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5139/0.6265, allocations: 1.718 MB / 447.8 MB, free: 6.371 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.6268, allocations: 206.7 kB / 448 MB, free: 6.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.084, allocations: 3.938 kB / 448 MB, free: 6.109 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches