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.001052/0.001052, allocations: 88.19 kB / 15.7 MB, free: 460 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.001445/0.001445, allocations: 175.2 kB / 16.58 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.367/1.367, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.3067/0.3067, allocations: 43.56 MB / 314.6 MB, free: 8.625 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.0005299/0.00053, allocations: 12 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 58.86 MB / 442.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0005731/0.1125, allocations: 236.4 kB / 443.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1144, allocations: 1.347 MB / 444.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.1144, allocations: 4 kB / 444.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.1145, allocations: 0 / 444.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.1145, allocations: 3.938 kB / 444.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.1151, allocations: 143.7 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.852e-05/0.1151, allocations: 8 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.1152, allocations: 3.984 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.1152, allocations: 4 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.1152, allocations: 0 / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1152, allocations: 8 kB / 444.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.1157, allocations: 259.6 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.1157, allocations: 3.984 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1157, allocations: 25.7 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1159, allocations: 87.81 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1159, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1159, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1159, allocations: 0 / 445 MB, free: 10.86 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.0003362/0.1162, allocations: 331.3 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1163, allocations: 16.03 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1163, allocations: 34.56 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.1164, allocations: 3.953 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1165, allocations: 163.4 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1165, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.1165, allocations: 7.938 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1166, allocations: 37.69 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1166, allocations: 0 / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1166, allocations: 0 / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1166, allocations: 7.891 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.1167, allocations: 11.98 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.117, allocations: 240.9 kB / 445.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.1171, allocations: 22.52 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.1171, allocations: 8.891 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.1171, allocations: 0 / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1172, allocations: 46.58 kB / 445.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.1172, allocations: 3.938 kB / 445.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.1173, allocations: 33.7 kB / 445.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1174, allocations: 51.41 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.1174, allocations: 97.84 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1175, allocations: 25.7 kB / 446.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.1175, allocations: 87.98 kB / 446.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.1175, allocations: 4 kB / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.1175, allocations: 8.25 kB / 446.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1177, allocations: 310.8 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.1177, allocations: 0 / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.1177, allocations: 22.56 kB / 446.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.1177, allocations: 8 kB / 446.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1177, allocations: 0 / 446.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.878e-05/0.1178, allocations: 49.55 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1178, allocations: 8 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1178, allocations: 4.047 kB / 446.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1178, allocations: 7.969 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.316e-05/0.1179, allocations: 4 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1179, allocations: 4 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.1179, allocations: 4 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1179, allocations: 0 / 446.6 MB, free: 8.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.118, allocations: 121.9 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.118, allocations: 0 / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.88e-05/0.1181, allocations: 44.81 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1182, allocations: 3.953 kB / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1182, allocations: 0 / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1182, allocations: 0 / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1183, allocations: 149.7 kB / 446.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1183, allocations: 0 / 446.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1183, allocations: 7.969 kB / 446.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1183, allocations: 0 / 446.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.1183, allocations: 4 kB / 446.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1184, allocations: 0 / 446.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1184, allocations: 3.953 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.177e-05/0.1184, allocations: 135.5 kB / 447.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.1185, allocations: 77.11 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.1185, allocations: 4.031 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.1186, allocations: 0 / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.1186, allocations: 7.953 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1186, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.978e-05/0.1186, allocations: 75.28 kB / 447.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1186, allocations: 0 / 447.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1189, allocations: 51.92 kB / 447.3 MB, free: 8.223 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004685/0.1194, allocations: 0.7047 MB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.693e-05/0.1195, allocations: 4 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1195, allocations: 0 / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.1195, allocations: 29.7 kB / 448 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.1197, allocations: 8 kB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.1201, allocations: 136.5 kB / 448.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1203, allocations: 0.677 MB / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.527e-05/0.1203, allocations: 4 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.1203, allocations: 11.38 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1203, allocations: 0 / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.1311, allocations: 1.647 MB / 450.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.1314, allocations: 184.2 kB / 450.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.851, allocations: 4 kB / 450.7 MB, free: 4.695 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat