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.0007421/0.0007419, allocations: 96.86 kB / 15.7 MB, free: 468 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.0009017/0.0009018, allocations: 173.7 kB / 16.58 MB, free: 5.938 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.336/1.336, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3178/0.3178, 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.0004524/0.0004524, allocations: 15.98 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.000496/0.1055, allocations: 280.3 kB / 443.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000174/0.1057, allocations: 65.44 kB / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.1058, allocations: 0 / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.385e-06/0.1058, allocations: 0 / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1059, allocations: 11.98 kB / 443.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.093e-05/0.1059, allocations: 3.938 kB / 443.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.099e-05/0.106, allocations: 11.94 kB / 443.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.106, allocations: 3.984 kB / 443.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-06/0.106, allocations: 0 / 443.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.1061, allocations: 8 kB / 443.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1061, allocations: 0 / 443.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.1061, allocations: 19.97 kB / 443.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-06/0.1061, allocations: 0 / 443.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1062, allocations: 33.64 kB / 443.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.128e-05/0.1062, allocations: 7.984 kB / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1062, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1062, allocations: 0 / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.1063, allocations: 4 kB / 443.3 MB, free: 12.77 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.0002061/0.1065, allocations: 323.6 kB / 443.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1065, allocations: 8.031 kB / 443.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.372e-05/0.1065, allocations: 34.56 kB / 443.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.455e-05/0.1065, allocations: 3.953 kB / 443.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/0.1066, allocations: 163 kB / 443.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.1066, allocations: 0 / 443.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1067, allocations: 0 / 443.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.175e-05/0.1067, allocations: 37.69 kB / 443.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1067, allocations: 8 kB / 443.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-06/0.1068, allocations: 4 kB / 443.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-06/0.1068, allocations: 0 / 443.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.1068, allocations: 7.938 kB / 443.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.1069, allocations: 157.6 kB / 444 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1071, allocations: 38.59 kB / 444.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.1071, allocations: 8.859 kB / 444.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.1074, allocations: 133.1 kB / 444.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.1074, allocations: 38.5 kB / 444.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1074, allocations: 4 kB / 444.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001047/0.1085, allocations: 213.4 kB / 444.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1085, allocations: 51.41 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.613e-05/0.1086, allocations: 89.86 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1086, allocations: 37.77 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.1086, allocations: 80.14 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1087, allocations: 19.73 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1087, allocations: 0 / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.1088, allocations: 318.8 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.1088, allocations: 23.98 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/0.1089, allocations: 23.98 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.724e-05/0.109, allocations: 19.98 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.109, allocations: 3.938 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001836/0.1092, allocations: 93.66 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1092, allocations: 4 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.1092, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1092, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1093, allocations: 15.98 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1093, allocations: 3.938 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.1094, allocations: 11.98 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1094, allocations: 0 / 445.2 MB, free: 10.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.1095, allocations: 117.8 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.1095, allocations: 4 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.1097, allocations: 93.2 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1098, allocations: 4 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1098, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1098, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.1104, allocations: 383.5 kB / 445.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1104, allocations: 0 / 445.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.1105, allocations: 19.98 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1105, allocations: 0 / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.1105, allocations: 3.938 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1105, allocations: 4 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1105, allocations: 0 / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1107, allocations: 192.3 kB / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.1108, allocations: 77.11 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1108, allocations: 4 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.1109, allocations: 11.98 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.1109, allocations: 8 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1109, allocations: 3.953 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.553e-05/0.111, allocations: 75.28 kB / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.111, allocations: 0 / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.1112, allocations: 15.98 kB / 446.2 MB, free: 9.469 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 (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.0004371/0.1116, allocations: 0.7173 MB / 447 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1118, allocations: 59.89 kB / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1118, allocations: 0 / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.1119, allocations: 27.98 kB / 447 MB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.1121, allocations: 4 kB / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.1126, allocations: 177.2 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1128, allocations: 0.6731 MB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.1128, allocations: 8 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1129, allocations: 23.3 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1129, allocations: 0 / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.1235, allocations: 1.256 MB / 449.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.1237, allocations: 181.9 kB / 449.4 MB, free: 6.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.768, allocations: 0 / 449.4 MB, free: 6.227 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat