Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.0007826/0.0007876, 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.0008983/0.0008984, allocations: 175.4 kB / 16.58 MB, free: 6.844 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.4 MB / 222.8 MB, free: 5.645 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.3124/0.3124, allocations: 43.54 MB / 314.6 MB, free: 9.047 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.0004623/0.0004623, allocations: 12 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006033/0.1042, allocations: 308.3 kB / 443.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.1045, allocations: 109.3 kB / 443.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.1045, allocations: 0 / 443.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1046, allocations: 0 / 443.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1047, allocations: 31.89 kB / 443.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.1048, allocations: 0 / 443.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.1048, allocations: 15.92 kB / 443.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.1049, allocations: 11.94 kB / 443.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.1049, allocations: 7.938 kB / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.1049, allocations: 15.92 kB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.105, allocations: 0 / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1051, allocations: 51.94 kB / 443.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.1051, allocations: 3.984 kB / 443.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.1051, allocations: 25.7 kB / 443.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.901e-05/0.1052, allocations: 27.97 kB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1052, allocations: 0 / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1052, allocations: 3.938 kB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1052, allocations: 0 / 443.5 MB, free: 12.59 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002807/0.1055, allocations: 335.5 kB / 443.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1055, allocations: 12.03 kB / 443.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.1056, allocations: 34.56 kB / 443.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.1056, allocations: 11.88 kB / 443.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1058, allocations: 167.1 kB / 444 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1058, allocations: 4 kB / 444 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1058, allocations: 4 kB / 444 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1059, allocations: 61.61 kB / 444.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.106, allocations: 4 kB / 444.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.106, allocations: 0 / 444.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.106, allocations: 3.938 kB / 444.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.1061, allocations: 51.95 kB / 444.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.1063, allocations: 177.5 kB / 444.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1064, allocations: 82.58 kB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1065, allocations: 32.86 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.1068, allocations: 255.3 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1069, allocations: 30.56 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1069, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002288/0.1071, allocations: 101.8 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1071, allocations: 55.41 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.1072, allocations: 89.86 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1072, allocations: 29.7 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.1073, allocations: 84.27 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.1073, allocations: 39.39 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1073, allocations: 0 / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1075, allocations: 326.8 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.1075, allocations: 12 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.1075, allocations: 28.23 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.026e-05/0.1076, allocations: 20 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1076, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001426/0.1077, allocations: 81.62 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1078, allocations: 8 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1078, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1078, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.1079, allocations: 19.98 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1079, allocations: 0 / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.1079, allocations: 4 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.108, allocations: 4 kB / 445.6 MB, free: 10.18 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 (10): * Single equations (assignments): 10 * 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 8.003e-05/0.108, allocations: 117.8 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.1081, allocations: 7.906 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.1083, allocations: 105.6 kB / 445.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1083, allocations: 4 kB / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1083, allocations: 0 / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1083, allocations: 0 / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1085, allocations: 173.5 kB / 446 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1085, allocations: 4 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.1085, allocations: 27.86 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1085, allocations: 0 / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1086, allocations: 0 / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1086, allocations: 0 / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1086, allocations: 8.375 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.1087, allocations: 116.9 kB / 446.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1088, allocations: 89.05 kB / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.1088, allocations: 0 / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.1088, allocations: 0 / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.1088, allocations: 7.984 kB / 446.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.1089, allocations: 4 kB / 446.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.151e-05/0.1089, allocations: 83.28 kB / 446.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1089, allocations: 0 / 446.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1091, allocations: 16 kB / 446.3 MB, free: 9.328 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.000476/0.1096, allocations: 0.6514 MB / 447 MB, free: 8.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.1097, allocations: 52.02 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1097, allocations: 4 kB / 447.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.1098, allocations: 31.92 kB / 447.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.1099, allocations: 8 kB / 447.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.1103, allocations: 178.7 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1106, allocations: 0.6887 MB / 448 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.353e-05/0.1106, allocations: 8 kB / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.1107, allocations: 15.44 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1107, allocations: 0 / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.1218, allocations: 1.341 MB / 449.3 MB, free: 6.289 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.1221, allocations: 195.8 kB / 449.5 MB, free: 6.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.72, allocations: 0 / 449.5 MB, free: 6.043 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat