Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001311/0.001311, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001437/0.001437, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2193/0.2193, allocations: 44.91 MB / 359.6 MB, free: 6.266 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.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",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.00216/0.00216, allocations: 71.83 kB / 0.4938 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3096, allocations: 65.48 MB / 0.5578 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001581/0.3112, allocations: 491.2 kB / 0.5583 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003279/0.3116, allocations: 105.9 kB / 0.5584 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.3116, allocations: 5.25 kB / 0.5584 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.3116, allocations: 0 / 0.5584 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.3118, allocations: 20.5 kB / 0.5584 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.549e-05/0.3118, allocations: 1.094 kB / 0.5584 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.3119, allocations: 3.344 kB / 0.5584 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.3119, allocations: 1.156 kB / 0.5584 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.916e-05/0.3119, allocations: 5.219 kB / 0.5584 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.312, allocations: 10.23 kB / 0.5584 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.312, allocations: 0 / 0.5584 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.3121, allocations: 22.3 kB / 0.5584 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.3121, allocations: 9.141 kB / 0.5584 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.3121, allocations: 3.938 kB / 0.5584 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.266e-05/0.3122, allocations: 20.86 kB / 0.5585 GB, free: 7.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3122, allocations: 1.156 kB / 0.5585 GB, free: 7.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3122, allocations: 0 / 0.5585 GB, free: 7.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3122, allocations: 0 / 0.5585 GB, free: 7.012 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003507/0.3125, allocations: 248.2 kB / 0.5587 GB, free: 6.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3126, allocations: 9.656 kB / 0.5587 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.511e-05/0.3126, allocations: 1.281 kB / 0.5587 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.3126, allocations: 38.73 kB / 0.5587 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.3127, allocations: 2.031 kB / 0.5587 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3128, allocations: 104.8 kB / 0.5588 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3128, allocations: 384 / 0.5588 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3128, allocations: 2.375 kB / 0.5588 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.3129, allocations: 49.95 kB / 0.5589 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.313, allocations: 0 / 0.5589 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.313, allocations: 1.125 kB / 0.5589 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.313, allocations: 0 / 0.5589 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.313, allocations: 5 kB / 0.5589 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.3132, allocations: 132.3 kB / 0.559 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3134, allocations: 31.86 kB / 0.5591 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.3134, allocations: 16.53 kB / 0.5591 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.3137, allocations: 41.42 kB / 0.5591 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3138, allocations: 46.44 kB / 0.5592 GB, free: 6.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3138, allocations: 0 / 0.5592 GB, free: 6.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001237/0.315, allocations: 177.4 kB / 0.5593 GB, free: 6.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3151, allocations: 59.41 kB / 0.5594 GB, free: 5.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.3151, allocations: 93.86 kB / 0.5595 GB, free: 5.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3152, allocations: 25.7 kB / 0.5595 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.3152, allocations: 80.14 kB / 0.5596 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.3152, allocations: 15.89 kB / 0.5596 GB, free: 5.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3153, allocations: 21.7 kB / 0.5596 GB, free: 5.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3154, allocations: 314.8 kB / 0.5599 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.3155, allocations: 20.11 kB / 0.5599 GB, free: 5.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.3156, allocations: 19.98 kB / 0.5599 GB, free: 5.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3158, allocations: 44.83 kB / 0.56 GB, free: 5.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3158, allocations: 0 / 0.56 GB, free: 5.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002191/0.316, allocations: 81.78 kB / 0.5601 GB, free: 5.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.316, allocations: 4 kB / 0.5601 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.316, allocations: 4 kB / 0.5601 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.316, allocations: 0 / 0.5601 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3161, allocations: 23.98 kB / 0.5601 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3161, allocations: 0 / 0.5601 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.3162, allocations: 7.984 kB / 0.5601 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3162, allocations: 4 kB / 0.5601 GB, free: 5.191 MB / 398.1 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 (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 7.827e-05/0.3163, allocations: 109.8 kB / 0.5602 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.3163, allocations: 7.891 kB / 0.5602 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.3166, allocations: 101.1 kB / 0.5603 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3166, allocations: 3.938 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3166, allocations: 0 / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3166, allocations: 0 / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.3174, allocations: 334.3 kB / 0.5606 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3174, allocations: 0 / 0.5606 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.3174, allocations: 11.98 kB / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3175, allocations: 4 kB / 0.5607 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3175, allocations: 0 / 0.5607 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3175, allocations: 3.938 kB / 0.5607 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3175, allocations: 0 / 0.5607 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.3177, allocations: 184.7 kB / 0.5608 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.3177, allocations: 7.938 kB / 0.5608 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3178, allocations: 3.938 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.3179, allocations: 7.984 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.3179, allocations: 8 kB / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3179, allocations: 0 / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.318, allocations: 83.28 kB / 0.5609 GB, free: 4.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.318, allocations: 0 / 0.5609 GB, free: 4.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.3182, allocations: 11.94 kB / 0.561 GB, free: 4.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0006396/0.3189, allocations: 0.7096 MB / 0.5616 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3191, allocations: 51.89 kB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3191, allocations: 0 / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.3192, allocations: 23.98 kB / 0.5617 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3194, allocations: 3.938 kB / 0.5617 GB, free: 3.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.32, allocations: 171.4 kB / 0.5619 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.3203, allocations: 0.6729 MB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.279e-05/0.3203, allocations: 8 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.3204, allocations: 15.42 kB / 0.5626 GB, free: 2.48 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3204, allocations: 0 / 0.5626 GB, free: 2.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.3402, allocations: 1.623 MB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.15, allocations: 14.42 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.10389542899793]