Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_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.001002/0.001002, allocations: 100.3 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 186.7 kB / 17.89 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1946/0.1946, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1001, allocations: 61.91 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005062/0.1007, allocations: 222.9 kB / 471.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.1009, allocations: 95.77 kB / 472 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.1009, allocations: 3.938 kB / 472 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.917e-06/0.101, allocations: 0 / 472 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.949e-05/0.101, allocations: 4 kB / 472 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.1011, allocations: 11.92 kB / 472 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.1012, allocations: 8 kB / 472 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.1012, allocations: 0 / 472 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.1012, allocations: 11.97 kB / 472 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.1013, allocations: 7.938 kB / 472 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1013, allocations: 4 kB / 472 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.1014, allocations: 27.95 kB / 472 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.1014, allocations: 8 kB / 472 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.1014, allocations: 25.7 kB / 472.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.471e-05/0.1015, allocations: 11.98 kB / 472.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1015, allocations: 4 kB / 472.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1015, allocations: 0 / 472.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.1015, allocations: 0 / 472.1 MB, free: 13.23 MB / 350.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.0002925/0.1018, allocations: 329.7 kB / 472.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1019, allocations: 8.031 kB / 472.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1019, allocations: 30.56 kB / 472.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.898e-05/0.1019, allocations: 7.938 kB / 472.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.102, allocations: 167.3 kB / 472.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-06/0.102, allocations: 4 kB / 472.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1021, allocations: 7.938 kB / 472.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.1022, allocations: 55.41 kB / 472.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.1022, allocations: 0 / 472.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1022, allocations: 4 kB / 472.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1022, allocations: 0 / 472.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.1022, allocations: 7.938 kB / 472.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.1025, allocations: 337 kB / 473 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.1026, allocations: 26.58 kB / 473 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.1026, allocations: 16.86 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1026, allocations: 0 / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.1027, allocations: 30.56 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1027, allocations: 8 kB / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000153/0.1028, allocations: 53.72 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.1029, allocations: 59.39 kB / 473.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.1029, allocations: 89.86 kB / 473.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.103, allocations: 25.7 kB / 473.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.103, allocations: 88.12 kB / 473.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.103, allocations: 11.81 kB / 473.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.103, allocations: 0 / 473.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.1031, allocations: 319 kB / 473.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.1031, allocations: 11.94 kB / 473.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.1032, allocations: 17.72 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.1032, allocations: 8 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1032, allocations: 3.953 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.458e-05/0.1033, allocations: 57.62 kB / 473.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1033, allocations: 11.98 kB / 473.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1033, allocations: 0 / 473.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.1034, allocations: 4.031 kB / 473.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.1034, allocations: 8 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1034, allocations: 3.938 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.1035, allocations: 3.906 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1035, allocations: 4 kB / 473.9 MB, free: 11.2 MB / 350.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.348e-05/0.1035, allocations: 114.2 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.1036, allocations: 3.953 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1037, allocations: 69.3 kB / 474 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1037, allocations: 4 kB / 474 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1037, allocations: 0 / 474 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1037, allocations: 0 / 474 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1039, allocations: 157.7 kB / 474.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1039, allocations: 0 / 474.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.1039, allocations: 15.89 kB / 474.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1039, allocations: 0 / 474.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.104, allocations: 4 kB / 474.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.104, allocations: 0 / 474.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.104, allocations: 0 / 474.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.1041, allocations: 147.5 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1041, allocations: 85.25 kB / 474.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1041, allocations: 3.953 kB / 474.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.1042, allocations: 3.984 kB / 474.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1042, allocations: 11.98 kB / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1042, allocations: 0 / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.1043, allocations: 75.28 kB / 474.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1043, allocations: 0 / 474.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1045, allocations: 12.09 kB / 474.6 MB, free: 10.41 MB / 350.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.0004039/0.1049, allocations: 0.6773 MB / 475.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.931e-05/0.105, allocations: 23.98 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.105, allocations: 0 / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.783e-05/0.1051, allocations: 15.94 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1053, allocations: 23.5 kB / 475.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1056, allocations: 140.6 kB / 475.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1059, allocations: 0.6809 MB / 476.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.1059, allocations: 7.906 kB / 476.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.106, allocations: 19.44 kB / 476.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.106, allocations: 0 / 476.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01031/0.1163, allocations: 1.058 MB / 477.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.1165, allocations: 199.6 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.705, allocations: 3.875 kB / 477.4 MB, free: 7.578 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat