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.0009841/0.0009842, allocations: 96.14 kB / 15.87 MB, free: 16 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.001017/0.001017, allocations: 204.5 kB / 16.79 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.188/1.188, allocations: 205.1 MB / 222.6 MB, free: 5.016 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.2828/0.2828, allocations: 43.49 MB / 313.5 MB, free: 8.562 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.001291/0.001291, allocations: 63.91 kB / 382.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09151, allocations: 57.79 MB / 439.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001505/0.09306, allocations: 0.5775 MB / 440.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.09334, allocations: 93.42 kB / 440.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.213e-05/0.09336, allocations: 4 kB / 440.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.09338, allocations: 0 / 440.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.685e-05/0.09341, allocations: 0 / 440.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.09354, allocations: 15.97 kB / 440.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.09359, allocations: 15.92 kB / 440.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.09363, allocations: 4 kB / 440.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.09365, allocations: 0 / 440.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.0937, allocations: 15.92 kB / 440.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.09371, allocations: 0 / 440.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.09379, allocations: 31.97 kB / 440.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.0938, allocations: 8 kB / 440.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.09383, allocations: 7.938 kB / 440.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.308e-05/0.09391, allocations: 23.95 kB / 440.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09392, allocations: 0 / 440.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.09392, allocations: 0 / 440.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.09393, allocations: 0 / 440.7 MB, free: 14.26 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.000312/0.09424, allocations: 331.7 kB / 441 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.09429, allocations: 12.03 kB / 441 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.09432, allocations: 34.73 kB / 441.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.89e-05/0.09434, allocations: 4.938 kB / 441.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.09443, allocations: 168.3 kB / 441.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.09445, allocations: 4.375 kB / 441.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.09446, allocations: 384 / 441.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.09456, allocations: 51.97 kB / 441.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.09458, allocations: 7.875 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.09459, allocations: 0 / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.0946, allocations: 4 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.09464, allocations: 15.92 kB / 441.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.0949, allocations: 325.2 kB / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.09496, allocations: 26.45 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.09501, allocations: 24.88 kB / 441.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.09503, allocations: 0 / 441.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.09505, allocations: 34.56 kB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.09506, allocations: 0 / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001566/0.09522, allocations: 61.59 kB / 441.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.09525, allocations: 51.41 kB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.957e-05/0.09531, allocations: 89.86 kB / 441.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.09532, allocations: 29.7 kB / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.09536, allocations: 84.14 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.09538, allocations: 11.8 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.09541, allocations: 21.84 kB / 442.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.09549, allocations: 310.8 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.09552, allocations: 11.94 kB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.09555, allocations: 21.7 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.0956, allocations: 25.72 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.09561, allocations: 3.938 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.236e-05/0.0957, allocations: 61.62 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.09571, allocations: 4 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.09572, allocations: 0 / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.09573, allocations: 0 / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.0958, allocations: 11.98 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.09581, allocations: 0 / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.09583, allocations: 11.94 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.09585, allocations: 0 / 442.5 MB, free: 12.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.09591, allocations: 117.7 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.09593, allocations: 3.906 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.09605, allocations: 73.28 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.09606, allocations: 0 / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.09607, allocations: 0 / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.09608, allocations: 7.922 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.09621, allocations: 153.6 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.09622, allocations: 3.984 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.09627, allocations: 8 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.09628, allocations: 0 / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.09629, allocations: 0 / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.09629, allocations: 4 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.0963, allocations: 4 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.09641, allocations: 159.4 kB / 443 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.09645, allocations: 77.11 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.09647, allocations: 4 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/0.09652, allocations: 0 / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.09655, allocations: 7.922 kB / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.09656, allocations: 0 / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.0966, allocations: 87.28 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0966, allocations: 0 / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.09682, allocations: 4 kB / 443.2 MB, free: 11.38 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003379/0.09716, allocations: 0.7008 MB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.685e-05/0.09726, allocations: 24.08 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.09727, allocations: 4.062 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.0973, allocations: 16.12 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.09751, allocations: 4 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.09785, allocations: 144.5 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.09805, allocations: 0.6771 MB / 444.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.322e-05/0.09809, allocations: 11.98 kB / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.09812, allocations: 15.44 kB / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.09813, allocations: 0 / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.904/2.002, allocations: 1.149 MB / 446 MB, free: 8.543 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/2.002, allocations: 213.1 kB / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/3.641, allocations: 0 / 446.2 MB, free: 8.285 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/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) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches