Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.0008178/0.0008175, 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.0008486/0.0008488, allocations: 179.6 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.362/1.362, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3109/0.3109, allocations: 43.55 MB / 314.6 MB, free: 9.035 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.0006025/0.0006026, allocations: 14.97 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1036, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005816/0.1043, allocations: 244.3 kB / 443.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.1046, allocations: 89.52 kB / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.1046, allocations: 0 / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.789e-06/0.1046, allocations: 0 / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.199e-05/0.1046, allocations: 0 / 443.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.1048, allocations: 15.92 kB / 443.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.1049, allocations: 8 kB / 443.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.1049, allocations: 4 kB / 443.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.105, allocations: 7.984 kB / 443.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.105, allocations: 11.94 kB / 443.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1051, allocations: 0 / 443.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.1052, allocations: 31.95 kB / 443.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.1052, allocations: 3.984 kB / 443.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.1052, allocations: 29.64 kB / 443.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.32e-05/0.1053, allocations: 19.98 kB / 443.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1053, allocations: 0 / 443.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1053, allocations: 0 / 443.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1053, allocations: 0 / 443.3 MB, free: 12.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002994/0.1056, allocations: 331.5 kB / 443.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1057, allocations: 8.031 kB / 443.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.1057, allocations: 34.56 kB / 443.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1057, allocations: 7.953 kB / 443.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1059, allocations: 170.9 kB / 443.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1059, allocations: 0 / 443.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1059, allocations: 4 kB / 443.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.106, allocations: 51.41 kB / 443.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.106, allocations: 4 kB / 443.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.106, allocations: 4 kB / 443.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1061, allocations: 0 / 443.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.1061, allocations: 11.94 kB / 443.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.1064, allocations: 321.1 kB / 444.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.1065, allocations: 30.58 kB / 444.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1065, allocations: 8.859 kB / 444.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1065, allocations: 4 kB / 444.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1066, allocations: 34.56 kB / 444.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.1066, allocations: 3.984 kB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.1067, allocations: 61.61 kB / 444.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.1068, allocations: 55.36 kB / 444.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.1069, allocations: 101.9 kB / 444.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1069, allocations: 25.7 kB / 444.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.1069, allocations: 80.14 kB / 444.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.1069, allocations: 11.81 kB / 444.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.1069, allocations: 0 / 444.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1071, allocations: 318.8 kB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.1071, allocations: 8 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.1071, allocations: 21.84 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.1072, allocations: 15.92 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1072, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.249e-05/0.1073, allocations: 49.69 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1073, allocations: 8 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1073, allocations: 0 / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1073, allocations: 3.938 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.1074, allocations: 11.94 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1074, allocations: 3.953 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.1074, allocations: 11.97 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1074, allocations: 7.938 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 6.228e-05/0.1075, allocations: 109.8 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.1075, allocations: 4 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.1076, allocations: 65.08 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1077, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1077, allocations: 4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1077, allocations: 3.953 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1078, allocations: 157.7 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1078, allocations: 4 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.1079, allocations: 11.94 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1079, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1079, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1079, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1079, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.108, allocations: 155.5 kB / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.1081, allocations: 77.11 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1081, allocations: 7.984 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.1081, allocations: 256 / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.1082, allocations: 4 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1082, allocations: 4 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.1082, allocations: 79.28 kB / 445.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1082, allocations: 4 kB / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1084, allocations: 4 kB / 445.8 MB, free: 9.93 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 (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.0003604/0.1088, allocations: 0.6929 MB / 446.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.1089, allocations: 27.92 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1089, allocations: 0 / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.1089, allocations: 12 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1092, allocations: 7.984 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.1095, allocations: 140.4 kB / 446.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1097, allocations: 0.6809 MB / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.1098, allocations: 0 / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1098, allocations: 11.44 kB / 447.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1098, allocations: 0 / 447.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.121, allocations: 1.078 MB / 448.4 MB, free: 7.223 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.1212, allocations: 193 kB / 448.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.734, allocations: 0 / 448.6 MB, free: 6.988 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat