Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 174.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007343/0.0007342, allocations: 94.34 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2793/0.2793, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08756, allocations: 58.86 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0004935/0.08808, allocations: 232.4 kB / 491.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.08831, allocations: 93.36 kB / 491.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.08833, allocations: 0 / 491.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.626e-06/0.08835, allocations: 0 / 491.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.746e-05/0.08838, allocations: 4 kB / 491.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.08852, allocations: 8 kB / 491.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.172e-05/0.08857, allocations: 15.92 kB / 491.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.08861, allocations: 0 / 491.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.08863, allocations: 4 kB / 491.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.08869, allocations: 15.91 kB / 491.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.0887, allocations: 0 / 491.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.08878, allocations: 31.97 kB / 491.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.0888, allocations: 7.922 kB / 491.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.08883, allocations: 29.7 kB / 491.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.632e-05/0.0889, allocations: 15.98 kB / 491.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.08891, allocations: 4 kB / 491.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.08892, allocations: 3.938 kB / 491.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.08892, allocations: 0 / 491.4 MB, free: 10.1 MB / 378.7 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.0002863/0.08922, allocations: 327.5 kB / 491.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.08926, allocations: 8.031 kB / 491.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.0893, allocations: 34.75 kB / 491.7 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.802e-05/0.08932, allocations: 0.9375 kB / 491.7 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.08941, allocations: 172.5 kB / 491.9 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.08943, allocations: 4.375 kB / 491.9 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-06/0.08944, allocations: 4.375 kB / 491.9 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.08955, allocations: 55.97 kB / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.08957, allocations: 3.938 kB / 492 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.08958, allocations: 0 / 492 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.08959, allocations: 0 / 492 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.111e-05/0.08963, allocations: 11.94 kB / 492 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.08988, allocations: 325.2 kB / 492.3 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.08993, allocations: 26.52 kB / 492.3 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.08998, allocations: 12.86 kB / 492.3 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.09, allocations: 4 kB / 492.4 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.09002, allocations: 34.5 kB / 492.4 MB, free: 8.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.09003, allocations: 0 / 492.4 MB, free: 8.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001519/0.09018, allocations: 61.69 kB / 492.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.09022, allocations: 55.39 kB / 492.5 MB, free: 8.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.182e-05/0.09028, allocations: 93.86 kB / 492.6 MB, free: 8.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.09029, allocations: 25.7 kB / 492.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.09033, allocations: 84.08 kB / 492.7 MB, free: 8.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.09034, allocations: 19.8 kB / 492.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.09035, allocations: 0 / 492.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.09044, allocations: 314.8 kB / 493 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.09046, allocations: 12.12 kB / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.09049, allocations: 13.72 kB / 493 MB, free: 8.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.09055, allocations: 37.83 kB / 493.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.09055, allocations: 3.938 kB / 493.1 MB, free: 8.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.142e-05/0.09064, allocations: 57.61 kB / 493.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.09066, allocations: 4 kB / 493.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.09066, allocations: 0 / 493.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.09068, allocations: 8.031 kB / 493.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.09074, allocations: 8 kB / 493.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.09075, allocations: 4 kB / 493.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.09078, allocations: 4.062 kB / 493.2 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.09079, allocations: 4 kB / 493.2 MB, free: 8.055 MB / 378.7 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 5.881e-05/0.09085, allocations: 113.8 kB / 493.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.09088, allocations: 7.891 kB / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.091, allocations: 69.06 kB / 493.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09101, allocations: 4 kB / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.09102, allocations: 0 / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.09102, allocations: 0 / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.09116, allocations: 161.6 kB / 493.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.09117, allocations: 0 / 493.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.09121, allocations: 4 kB / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.09122, allocations: 0 / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.09123, allocations: 4 kB / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09123, allocations: 0 / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.09124, allocations: 0 / 493.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.09135, allocations: 159.4 kB / 493.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.09138, allocations: 81.09 kB / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.0914, allocations: 4 kB / 493.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.09144, allocations: 0 / 493.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.09147, allocations: 0 / 493.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.09148, allocations: 8 kB / 493.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.046e-05/0.09152, allocations: 79.22 kB / 493.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09153, allocations: 0 / 493.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.09172, allocations: 8.094 kB / 493.9 MB, free: 7.262 MB / 378.7 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.0003093/0.09204, allocations: 0.6968 MB / 494.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.63e-05/0.09212, allocations: 28 kB / 494.6 MB, free: 6.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.09213, allocations: 0 / 494.6 MB, free: 6.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.09216, allocations: 15.98 kB / 494.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.09236, allocations: 4.062 kB / 494.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.09267, allocations: 166 kB / 494.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.09286, allocations: 0.677 MB / 495.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.09289, allocations: 15.44 kB / 495.5 MB, free: 5.566 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.0929, allocations: 0 / 495.5 MB, free: 5.566 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.838/2.931, allocations: 0.7155 MB / 496.2 MB, free: 4.855 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches