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.001471/0.001471, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.00169/0.00169, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8945/0.8945, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2294/0.2294, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.043e-05, allocations: 2.281 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001093/0.001113, allocations: 0.5011 MB / 440.1 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.001333, allocations: 91.72 kB / 440.2 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.001355, allocations: 4 kB / 440.2 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.001369, allocations: 0 / 440.2 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.991e-05/0.001389, allocations: 7.875 kB / 440.2 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.001578, allocations: 15.92 kB / 440.2 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.001631, allocations: 11.98 kB / 440.2 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.001674, allocations: 0 / 440.2 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.001713, allocations: 8 kB / 440.2 MB, free: 3.645 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.001756, allocations: 7.984 kB / 440.2 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.001771, allocations: 0 / 440.2 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.00184, allocations: 31.95 kB / 440.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.001855, allocations: 7.938 kB / 440.2 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.001872, allocations: 7.984 kB / 440.3 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.00197, allocations: 27.95 kB / 440.3 MB, free: 3.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.001972, allocations: 0 / 440.3 MB, free: 3.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.001974, allocations: 0 / 440.3 MB, free: 3.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.001977, allocations: 0 / 440.3 MB, free: 3.562 MB / 410.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.000314/0.002291, allocations: 254.3 kB / 440.5 MB, free: 3.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.002334, allocations: 12.03 kB / 440.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.002365, allocations: 34.69 kB / 440.6 MB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.002386, allocations: 0.9375 kB / 440.6 MB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.002466, allocations: 113.8 kB / 440.7 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.002479, allocations: 8.359 kB / 440.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.002488, allocations: 4.375 kB / 440.7 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.002595, allocations: 51.97 kB / 440.8 MB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.002602, allocations: 192 / 440.8 MB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.002611, allocations: 384 / 440.8 MB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.002617, allocations: 4.125 kB / 440.8 MB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.942e-05/0.002656, allocations: 19.88 kB / 440.8 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.002945, allocations: 292.1 kB / 441.1 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.002989, allocations: 18.72 kB / 441.1 MB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.003021, allocations: 20.84 kB / 441.1 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.003037, allocations: 4 kB / 441.1 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.003056, allocations: 38.44 kB / 441.1 MB, free: 2.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.003057, allocations: 0 / 441.1 MB, free: 2.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001532/0.00321, allocations: 57.64 kB / 441.2 MB, free: 2.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.003238, allocations: 51.41 kB / 441.2 MB, free: 2.434 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.003294, allocations: 97.8 kB / 441.3 MB, free: 2.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.003304, allocations: 25.7 kB / 441.4 MB, free: 2.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.003367, allocations: 88.12 kB / 441.5 MB, free: 2.207 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.003376, allocations: 12.03 kB / 441.5 MB, free: 2.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.003401, allocations: 21.72 kB / 441.5 MB, free: 2.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.00347, allocations: 310.8 kB / 441.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.003486, allocations: 7.984 kB / 441.8 MB, free: 1.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.003505, allocations: 25.66 kB / 441.8 MB, free: 1.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.003543, allocations: 25.72 kB / 441.8 MB, free: 1.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003545, allocations: 4 kB / 441.9 MB, free: 1.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.75e-05/0.003602, allocations: 57.56 kB / 441.9 MB, free: 1.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.003614, allocations: 4 kB / 441.9 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.003619, allocations: 3.984 kB / 441.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.003629, allocations: 4.031 kB / 441.9 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.003681, allocations: 8 kB / 441.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.003686, allocations: 128 / 441.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.003703, allocations: 11.95 kB / 441.9 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.003709, allocations: 0 / 441.9 MB, free: 1.688 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.003758, allocations: 113.8 kB / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.003771, allocations: 3.938 kB / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.507e-05/0.003866, allocations: 69.3 kB / 442.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003867, allocations: 0 / 442.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.003871, allocations: 0 / 442.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.003873, allocations: 4 kB / 442.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.004032, allocations: 128.7 kB / 442.3 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004032, allocations: 0 / 442.3 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.004052, allocations: 11.92 kB / 442.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.004055, allocations: 8.172 kB / 442.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.00406, allocations: 0 / 442.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.00406, allocations: 0 / 442.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004061, allocations: 0 / 442.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.614e-05/0.004137, allocations: 155.5 kB / 442.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.004143, allocations: 7.891 kB / 442.4 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-06/0.004152, allocations: 7.938 kB / 442.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.004178, allocations: 4 kB / 442.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.004205, allocations: 7.984 kB / 442.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.004207, allocations: 0 / 442.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.27e-05/0.00423, allocations: 79.28 kB / 442.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00423, allocations: 0 / 442.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000152/0.004382, allocations: 8 kB / 442.5 MB, free: 1.012 MB / 410.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 (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.0002615/0.004643, allocations: 0.6841 MB / 443.2 MB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.00472, allocations: 23.92 kB / 443.2 MB, free: 288 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.004721, allocations: 4.156 kB / 443.2 MB, free: 284 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.004746, allocations: 16 kB / 443.3 MB, free: 268 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.004898, allocations: 0 / 443.3 MB, free: 268 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.005192, allocations: 142.5 kB / 443.4 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.005232, allocations: 59.36 kB / 443.5 MB, free: 4 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.1325/0.1378, allocations: 7.203 kB / 443.5 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.1378, allocations: 15.28 kB / 443.5 MB, free: 45.91 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1378, allocations: 0.7188 kB / 443.5 MB, free: 45.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.1519, allocations: 1.94 MB / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/6.707, allocations: 14.95 kB / 445.4 MB, free: 45.12 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/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: 8.593119633384049]