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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2137/0.2137, allocations: 44.94 MB / 358.8 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.91 kB / 0.493 GB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3071, allocations: 65.48 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001715/0.3088, allocations: 0.4967 MB / 0.5574 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.3091, allocations: 92.67 kB / 0.5575 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.3092, allocations: 4 kB / 0.5575 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3092, allocations: 1.156 kB / 0.5575 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.799e-05/0.3092, allocations: 3.938 kB / 0.5575 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3094, allocations: 16.45 kB / 0.5576 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.3094, allocations: 9.906 kB / 0.5576 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.3095, allocations: 1.156 kB / 0.5576 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.723e-05/0.3095, allocations: 11.7 kB / 0.5576 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.3095, allocations: 6.25 kB / 0.5576 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3096, allocations: 0.9062 kB / 0.5576 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.3096, allocations: 26.81 kB / 0.5576 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.3096, allocations: 13.17 kB / 0.5576 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.3097, allocations: 8.781 kB / 0.5576 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.496e-05/0.3098, allocations: 31.38 kB / 0.5577 GB, free: 6.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3098, allocations: 0 / 0.5577 GB, free: 6.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3098, allocations: 0 / 0.5577 GB, free: 6.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3098, allocations: 1 kB / 0.5577 GB, free: 6.832 MB / 398.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.0003693/0.3101, allocations: 257 kB / 0.5579 GB, free: 6.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3102, allocations: 9.156 kB / 0.5579 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3102, allocations: 34.81 kB / 0.5579 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.3102, allocations: 0.9375 kB / 0.5579 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.3103, allocations: 106.5 kB / 0.558 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3103, allocations: 4.375 kB / 0.5581 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3104, allocations: 384 / 0.5581 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3105, allocations: 55.97 kB / 0.5581 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3105, allocations: 7.875 kB / 0.5581 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3105, allocations: 0 / 0.5581 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3105, allocations: 4 kB / 0.5581 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.3105, allocations: 7.984 kB / 0.5581 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.3108, allocations: 292.2 kB / 0.5584 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.99e-05/0.3109, allocations: 34.45 kB / 0.5584 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3109, allocations: 16.86 kB / 0.5585 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.311, allocations: 0 / 0.5585 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.311, allocations: 38.64 kB / 0.5585 GB, free: 5.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.311, allocations: 0 / 0.5585 GB, free: 5.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001725/0.3112, allocations: 57.58 kB / 0.5585 GB, free: 5.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3112, allocations: 51.41 kB / 0.5586 GB, free: 5.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.3113, allocations: 101.8 kB / 0.5587 GB, free: 5.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3113, allocations: 25.7 kB / 0.5587 GB, free: 5.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.3114, allocations: 80.14 kB / 0.5588 GB, free: 5.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.3114, allocations: 19.97 kB / 0.5588 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3114, allocations: 21.7 kB / 0.5588 GB, free: 5.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3115, allocations: 314.8 kB / 0.5591 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.3116, allocations: 4 kB / 0.5591 GB, free: 5.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.3116, allocations: 21.7 kB / 0.5592 GB, free: 5.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.3117, allocations: 29.78 kB / 0.5592 GB, free: 5.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3117, allocations: 7.938 kB / 0.5592 GB, free: 5.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.332e-05/0.3118, allocations: 57.86 kB / 0.5592 GB, free: 5.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3118, allocations: 8 kB / 0.5593 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3118, allocations: 3.984 kB / 0.5593 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3118, allocations: 4.031 kB / 0.5593 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.3119, allocations: 11.98 kB / 0.5593 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3119, allocations: 0 / 0.5593 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.3119, allocations: 3.953 kB / 0.5593 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3119, allocations: 4 kB / 0.5593 GB, free: 4.973 MB / 398.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 8.371e-05/0.312, allocations: 117.7 kB / 0.5594 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.312, allocations: 4 kB / 0.5594 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.3121, allocations: 53.38 kB / 0.5594 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3121, allocations: 4 kB / 0.5595 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3121, allocations: 0 / 0.5595 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3121, allocations: 4 kB / 0.5595 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.3123, allocations: 136.7 kB / 0.5596 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3123, allocations: 0 / 0.5596 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.3123, allocations: 8 kB / 0.5596 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3123, allocations: 0 / 0.5596 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3123, allocations: 0 / 0.5596 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3123, allocations: 0 / 0.5596 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3123, allocations: 7.938 kB / 0.5596 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3125, allocations: 147.5 kB / 0.5597 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.3125, allocations: 15.88 kB / 0.5598 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3125, allocations: 4 kB / 0.5598 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.3125, allocations: 8.125 kB / 0.5598 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.3126, allocations: 0 / 0.5598 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3126, allocations: 4 kB / 0.5598 GB, free: 4.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.3126, allocations: 75.28 kB / 0.5598 GB, free: 4.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3126, allocations: 0 / 0.5598 GB, free: 4.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.3128, allocations: 12 kB / 0.5599 GB, free: 4.301 MB / 398.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.0004503/0.3133, allocations: 0.685 MB / 0.5605 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.274e-05/0.3134, allocations: 24 kB / 0.5605 GB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3134, allocations: 4.094 kB / 0.5605 GB, free: 3.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.3134, allocations: 19.92 kB / 0.5606 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.3136, allocations: 10.58 kB / 0.5606 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.314, allocations: 138.6 kB / 0.5607 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.759e-05/0.314, allocations: 59.34 kB / 0.5608 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.3141, allocations: 4 kB / 0.5608 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.3141, allocations: 11.44 kB / 0.5608 GB, free: 3.262 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3141, allocations: 0 / 0.5608 GB, free: 3.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.3415, allocations: 1.795 MB / 0.5625 GB, free: 1.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.29, allocations: 15.33 kB / 0.5626 GB, free: 1.586 MB / 398.1 MB " [Timeout remaining time 649] (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/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 --stepSize=0.0004 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.213288636878133]