Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008422/0.0008422, 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.0008103/0.0008103, 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.8322/0.8322, 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.1251/0.1251, allocations: 32.36 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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.371e-05, allocations: 9.875 kB / 406.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001183/0.001206, allocations: 0.5417 MB / 407.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.001424, allocations: 71.7 kB / 407.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.001448, allocations: 0 / 407.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.001462, allocations: 0 / 407.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.001677, allocations: 15.92 kB / 407.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.225e-05/0.001689, allocations: 0 / 407.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.001739, allocations: 11.92 kB / 407.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.001782, allocations: 4 kB / 407.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.001809, allocations: 0 / 407.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.001851, allocations: 3.938 kB / 407.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.001864, allocations: 4 kB / 407.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.001938, allocations: 23.97 kB / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.00195, allocations: 0 / 407.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.001964, allocations: 4 kB / 407.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.036e-05/0.002054, allocations: 23.89 kB / 407.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002056, allocations: 0 / 407.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.002058, allocations: 4 kB / 407.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.002063, allocations: 0 / 407.6 MB, free: 12.78 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002529/0.002316, allocations: 246.3 kB / 407.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.002356, allocations: 12.03 kB / 407.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.002383, allocations: 30.75 kB / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.002404, allocations: 4.891 kB / 407.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.362e-05/0.002478, allocations: 109.8 kB / 408 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.002488, allocations: 4.375 kB / 408 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.002506, allocations: 4.312 kB / 408 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.486e-05/0.002591, allocations: 38.23 kB / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.002601, allocations: 192 / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.002608, allocations: 384 / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.002615, allocations: 4.125 kB / 408 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.002649, allocations: 11.94 kB / 408 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.002776, allocations: 120.8 kB / 408.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.002951, allocations: 34.58 kB / 408.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.002974, allocations: 20.94 kB / 408.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.003193, allocations: 31.95 kB / 408.2 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.003211, allocations: 34.56 kB / 408.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.003212, allocations: 0 / 408.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000752/0.003964, allocations: 189.3 kB / 408.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.003993, allocations: 55.41 kB / 408.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.669e-05/0.00404, allocations: 89.86 kB / 408.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.00405, allocations: 25.7 kB / 408.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.00407, allocations: 80.14 kB / 408.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.004097, allocations: 19.84 kB / 408.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.004129, allocations: 25.64 kB / 408.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.004201, allocations: 315 kB / 409.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.004249, allocations: 19.98 kB / 409.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.004286, allocations: 19.92 kB / 409.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.004372, allocations: 53.02 kB / 409.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.004373, allocations: 0 / 409.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001095/0.004483, allocations: 73.66 kB / 409.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.004496, allocations: 10.66 kB / 409.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004501, allocations: 4 kB / 409.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.004513, allocations: 3.938 kB / 409.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.004576, allocations: 15.92 kB / 409.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.004584, allocations: 4 kB / 409.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.004622, allocations: 7.984 kB / 409.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.004628, allocations: 0 / 409.3 MB, free: 10.9 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 (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.623e-05/0.004685, allocations: 109.8 kB / 409.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.004694, allocations: 7.953 kB / 409.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.00486, allocations: 89.3 kB / 409.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.004863, allocations: 3.938 kB / 409.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004867, allocations: 0 / 409.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004869, allocations: 0 / 409.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.005249, allocations: 322.4 kB / 409.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005251, allocations: 4.031 kB / 409.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.005294, allocations: 15.98 kB / 409.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.005296, allocations: 0 / 409.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.005304, allocations: 11.88 kB / 409.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.005306, allocations: 4 kB / 409.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.005307, allocations: 0 / 409.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.005442, allocations: 176.8 kB / 410 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.005447, allocations: 64 / 410 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.005458, allocations: 4 kB / 410 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.005513, allocations: 15.97 kB / 410 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.005537, allocations: 8 kB / 410 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.005543, allocations: 0 / 410 MB, free: 10.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.547e-05/0.005568, allocations: 83.27 kB / 410.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005568, allocations: 0 / 410.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000158/0.005726, allocations: 8 kB / 410.1 MB, free: 9.965 MB / 346.7 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.0003509/0.006077, allocations: 0.7132 MB / 410.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.006215, allocations: 59.92 kB / 410.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006217, allocations: 0 / 410.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.006254, allocations: 19.98 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.0001569/0.00641, allocations: 11.94 kB / 410.9 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.006763, allocations: 163.4 kB / 411.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.006801, allocations: 59.3 kB / 411.1 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.006832, allocations: 12.05 kB / 411.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.006867, allocations: 12.5 kB / 411.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.006868, allocations: 0 / 411.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.02015, allocations: 2.158 MB / 413.3 MB, free: 6.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.422/6.442, allocations: 8.062 kB / 413.3 MB, free: 6.66 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.226570165716112]