Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001169/0.001169, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001249/0.001249, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8216/0.8216, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.126e-05, allocations: 6.281 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001212/0.001233, allocations: 0.5767 MB / 407.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.001478, allocations: 111.5 kB / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.001503, allocations: 0 / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.001517, allocations: 7.938 kB / 407.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.001737, allocations: 39.77 kB / 407.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.001741, allocations: 0 / 407.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.001792, allocations: 19.92 kB / 407.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.001832, allocations: 7.938 kB / 407.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.001862, allocations: 15.92 kB / 407.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.001911, allocations: 11.92 kB / 407.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.001922, allocations: 0 / 407.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.002004, allocations: 47.94 kB / 407.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.002015, allocations: 4 kB / 407.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.002031, allocations: 11.92 kB / 407.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.002134, allocations: 43.88 kB / 407.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002136, allocations: 3.938 kB / 407.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.002138, allocations: 0 / 407.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.002142, allocations: 0 / 407.8 MB, free: 12.6 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002392/0.002381, allocations: 266.2 kB / 408 MB, free: 12.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.002421, allocations: 12.03 kB / 408 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.00245, allocations: 34.73 kB / 408.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.002472, allocations: 4.938 kB / 408.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.232e-05/0.002544, allocations: 109.7 kB / 408.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.002555, allocations: 8.312 kB / 408.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.002563, allocations: 4.375 kB / 408.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.002669, allocations: 66.17 kB / 408.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.002676, allocations: 192 / 408.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.002684, allocations: 384 / 408.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.00269, allocations: 4.125 kB / 408.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.00277, allocations: 55.94 kB / 408.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.002901, allocations: 136.7 kB / 408.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.003017, allocations: 74.58 kB / 408.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.003056, allocations: 28.84 kB / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.003251, allocations: 23.98 kB / 408.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.003271, allocations: 38.55 kB / 408.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.003273, allocations: 0 / 408.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001839/0.003456, allocations: 101.8 kB / 408.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.003486, allocations: 55.34 kB / 408.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.931e-05/0.003535, allocations: 97.84 kB / 408.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.003545, allocations: 25.7 kB / 408.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.003564, allocations: 80.14 kB / 409 MB, free: 11.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.003598, allocations: 31.7 kB / 409 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.003629, allocations: 33.83 kB / 409 MB, free: 11.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.003703, allocations: 310.8 kB / 409.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.003731, allocations: 23.98 kB / 409.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.003752, allocations: 16.31 kB / 409.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.003817, allocations: 60.91 kB / 409.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.003819, allocations: 0 / 409.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001042/0.003923, allocations: 85.58 kB / 409.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.003941, allocations: 4 kB / 409.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.003948, allocations: 0 / 409.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.003964, allocations: 4 kB / 409.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.004086, allocations: 19.92 kB / 409.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.004093, allocations: 4 kB / 409.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.004111, allocations: 4 kB / 409.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.004116, allocations: 4 kB / 409.6 MB, free: 10.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 7.035e-05/0.004187, allocations: 117.8 kB / 409.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.004194, allocations: 4 kB / 409.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.004341, allocations: 105.5 kB / 409.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.004343, allocations: 0 / 409.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.004349, allocations: 7.922 kB / 409.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004351, allocations: 0 / 409.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.314e-05/0.004435, allocations: 136.8 kB / 409.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.004436, allocations: 4 kB / 409.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.00448, allocations: 23.98 kB / 410 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.004482, allocations: 0 / 410 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.004487, allocations: 0 / 410 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.004489, allocations: 0 / 410 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.004491, allocations: 4.125 kB / 410 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.812e-05/0.004589, allocations: 116.9 kB / 410.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.004595, allocations: 4 kB / 410.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.004607, allocations: 4 kB / 410.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-06/0.004617, allocations: 0 / 410.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.004633, allocations: 11.92 kB / 410.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.004637, allocations: 8 kB / 410.1 MB, free: 10 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.092e-05/0.004658, allocations: 75.28 kB / 410.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004658, allocations: 0 / 410.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.004807, allocations: 19.94 kB / 410.2 MB, free: 9.906 MB / 346.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 (10): * Single equations (assignments): 10 * 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.0003204/0.005127, allocations: 0.6437 MB / 410.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.005234, allocations: 59.84 kB / 410.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005236, allocations: 0 / 410.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.005261, allocations: 27.92 kB / 410.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.005378, allocations: 16.03 kB / 410.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.005733, allocations: 171 kB / 411.1 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.005777, allocations: 75.19 kB / 411.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.951e-05/0.005807, allocations: 7.781 kB / 411.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.00584, allocations: 20.48 kB / 411.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005841, allocations: 0 / 411.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.01895, allocations: 2.203 MB / 413.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.193/6.211, allocations: 3.938 kB / 413.4 MB, free: 6.605 MB / 346.7 MB " [Timeout remaining time 654] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.034898612648249]