Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.0007574/0.0007574, allocations: 97.72 kB / 16.02 MB, free: 84 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.0007663/0.0007664, allocations: 177.7 kB / 16.92 MB, free: 6.68 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.23/1.23, allocations: 205.4 MB / 223.1 MB, free: 5.246 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.3062/0.3062, allocations: 43.57 MB / 315 MB, free: 9.215 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.0005101/0.0005101, allocations: 15.12 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006241/0.1111, allocations: 292.3 kB / 443.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.1113, allocations: 69.44 kB / 443.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.167e-05/0.1114, allocations: 0 / 443.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.689e-06/0.1114, allocations: 0 / 443.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1116, allocations: 4 kB / 443.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.419e-05/0.1116, allocations: 0 / 443.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.08e-05/0.1116, allocations: 15.92 kB / 443.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.1117, allocations: 0 / 443.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.1117, allocations: 3.938 kB / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.374e-05/0.1117, allocations: 8 kB / 443.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1117, allocations: 3.938 kB / 443.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.1118, allocations: 23.97 kB / 443.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.1118, allocations: 3.984 kB / 443.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.1119, allocations: 29.64 kB / 444 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.397e-05/0.112, allocations: 19.98 kB / 444 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.112, allocations: 0 / 444 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.112, allocations: 0 / 444 MB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.112, allocations: 0 / 444 MB, free: 12.36 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.0002403/0.1122, allocations: 323.8 kB / 444.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1123, allocations: 8.031 kB / 444.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.1123, allocations: 34.75 kB / 444.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.76e-05/0.1123, allocations: 4.875 kB / 444.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.1124, allocations: 168.3 kB / 444.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1124, allocations: 4.359 kB / 444.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.1125, allocations: 384 / 444.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.1125, allocations: 42.19 kB / 444.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1126, allocations: 3.938 kB / 444.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.1126, allocations: 0 / 444.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1126, allocations: 4 kB / 444.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.1126, allocations: 8 kB / 444.6 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.1127, allocations: 149.7 kB / 444.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1129, allocations: 38.61 kB / 444.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.1129, allocations: 8.859 kB / 444.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003412/0.1133, allocations: 133.1 kB / 444.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.1133, allocations: 30.56 kB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1133, allocations: 0 / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001234/0.1146, allocations: 225.3 kB / 445.2 MB, free: 11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1146, allocations: 55.41 kB / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.25e-05/0.1147, allocations: 89.86 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1147, allocations: 29.7 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.1147, allocations: 80.27 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1148, allocations: 23.73 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.1148, allocations: 13.72 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.1149, allocations: 310.8 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.115, allocations: 23.98 kB / 445.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.1151, allocations: 24.03 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1152, allocations: 64.95 kB / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1152, allocations: 0 / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002073/0.1155, allocations: 89.55 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1155, allocations: 4 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1155, allocations: 0 / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1155, allocations: 3.984 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1157, allocations: 19.92 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1157, allocations: 0 / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1158, allocations: 8 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1158, allocations: 0 / 446 MB, free: 10.12 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 (5): * Single equations (assignments): 5 * 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 0.0001148/0.1159, allocations: 121.8 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.116, allocations: 7.875 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.1164, allocations: 93.16 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1164, allocations: 4 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.1164, allocations: 4 kB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1164, allocations: 3.984 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008926/0.1173, allocations: 371.2 kB / 446.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1173, allocations: 0 / 446.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.1175, allocations: 15.98 kB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1175, allocations: 336 / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1175, allocations: 8 kB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1175, allocations: 0 / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1175, allocations: 0 / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1177, allocations: 196.4 kB / 446.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.1178, allocations: 81.11 kB / 446.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1178, allocations: 3.984 kB / 446.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1179, allocations: 12 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.1179, allocations: 7.984 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1179, allocations: 0 / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.118, allocations: 79.28 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 0 / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1182, allocations: 8 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0004701/0.1187, allocations: 0.7249 MB / 447.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1189, allocations: 59.95 kB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1189, allocations: 0 / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.119, allocations: 31.92 kB / 447.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.1192, allocations: 0 / 447.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.1197, allocations: 186.9 kB / 448 MB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.1199, allocations: 0.6731 MB / 448.6 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.12, allocations: 11.98 kB / 448.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.12, allocations: 15.44 kB / 448.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.12, allocations: 0 / 448.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.043/1.163, allocations: 1.261 MB / 449.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.163, allocations: 199.9 kB / 450.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.446, allocations: 0 / 450.1 MB, free: 5.719 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches