Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008188/0.0008186, allocations: 97.8 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009912/0.0009913, allocations: 186.3 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3259/0.3259, allocations: 43.57 MB / 315 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005105/0.0005105, allocations: 12 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 58.87 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002462/0.1131, allocations: 2.08 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1142, allocations: 0.7955 MB / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1143, allocations: 4 kB / 446.4 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1145, allocations: 47.69 kB / 446.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.1147, allocations: 83.45 kB / 446.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.115, allocations: 83.91 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1153, allocations: 326.8 kB / 447 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1154, allocations: 89.39 kB / 447 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.1156, allocations: 115.5 kB / 447.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1158, allocations: 131.4 kB / 447.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.1158, allocations: 16 kB / 447.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.1159, allocations: 16 kB / 447.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.1159, allocations: 55.75 kB / 447.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1161, allocations: 164.9 kB / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1163, allocations: 326.6 kB / 447.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1163, allocations: 8 kB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1163, allocations: 0 / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1164, allocations: 0 / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008884/0.1172, allocations: 0.5653 MB / 448.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1173, allocations: 8.031 kB / 448.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.1174, allocations: 66.66 kB / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.1174, allocations: 36.47 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1177, allocations: 255.7 kB / 448.8 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1177, allocations: 20.94 kB / 448.8 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.1178, allocations: 28.38 kB / 448.8 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.1182, allocations: 249 kB / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1183, allocations: 0 / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1183, allocations: 19.92 kB / 449.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1183, allocations: 4 kB / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.1188, allocations: 246.1 kB / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.12, allocations: 0.8753 MB / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.1206, allocations: 310.7 kB / 450.5 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.1208, allocations: 152.7 kB / 450.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1209, allocations: 7.984 kB / 450.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1209, allocations: 42.48 kB / 450.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.232e-06/0.1209, allocations: 0 / 450.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004383/0.1253, allocations: 1.273 MB / 452 MB, free: 3.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1253, allocations: 59.28 kB / 452 MB, free: 3.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1255, allocations: 221 kB / 452.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1256, allocations: 29.7 kB / 452.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.1257, allocations: 157.1 kB / 452.4 MB, free: 3.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.1257, allocations: 110.5 kB / 452.5 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.1258, allocations: 25.72 kB / 452.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1259, allocations: 334.8 kB / 452.9 MB, free: 2.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1261, allocations: 107.8 kB / 453 MB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1263, allocations: 129.8 kB / 453.1 MB, free: 2.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.1268, allocations: 243.3 kB / 453.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1268, allocations: 0 / 453.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001743/0.1286, allocations: 0.5519 MB / 453.9 MB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1286, allocations: 8 kB / 453.9 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1286, allocations: 3.938 kB / 453.9 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.1302, allocations: 311.1 kB / 454.2 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.1304, allocations: 31.98 kB / 454.3 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2976/0.4279, allocations: 6.316 MB / 460.6 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4282, allocations: 34.61 kB / 460.6 MB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.4282, allocations: 14.06 kB / 460.6 MB, free: 41.54 MB / 382.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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.4283, allocations: 141 kB / 460.8 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.4284, allocations: 27.61 kB / 460.8 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.4299, allocations: 0.5583 MB / 461.4 MB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4299, allocations: 2.719 kB / 461.4 MB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.4299, allocations: 0 / 461.4 MB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4299, allocations: 6.328 kB / 461.4 MB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4302, allocations: 356.8 kB / 461.7 MB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4302, allocations: 5.109 kB / 461.7 MB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4303, allocations: 30.36 kB / 461.7 MB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.4316, allocations: 311.6 kB / 462.1 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4316, allocations: 6.609 kB / 462.1 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004563/0.4362, allocations: 6.364 MB / 468.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4362, allocations: 2.719 kB / 468.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.4377, allocations: 0.6293 MB / 469.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.4377, allocations: 105.3 kB / 469.2 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.4378, allocations: 3.938 kB / 469.2 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4379, allocations: 16.56 kB / 469.2 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.438, allocations: 37.53 kB / 469.2 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.4381, allocations: 12.09 kB / 469.2 MB, free: 35.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.4382, allocations: 156.9 kB / 469.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4382, allocations: 0 / 469.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003927/0.4386, allocations: 119.8 kB / 469.5 MB, free: 35.62 MB / 382.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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/0.4402, allocations: 1.178 MB / 470.7 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007116/0.4409, allocations: 0.7543 MB / 471.4 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4409, allocations: 0 / 471.4 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.4418, allocations: 0.721 MB / 472.1 MB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4421, allocations: 31.73 kB / 472.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.4467, allocations: 3.23 MB / 475.4 MB, free: 32.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.4468, allocations: 0.7744 MB / 476.2 MB, free: 31.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.699e-05/0.4469, allocations: 14.7 kB / 476.2 MB, free: 31.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.447, allocations: 74.73 kB / 476.3 MB, free: 31.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.447, allocations: 0 / 476.3 MB, free: 31.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.493/1.94, allocations: 9.788 MB / 486.1 MB, free: 30.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.94, allocations: 224.7 kB / 486.3 MB, free: 30.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.517/5.458, allocations: 3.938 kB / 486.3 MB, free: 30.54 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches