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.004273/0.004273, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 189.5 kB / 16.78 MB, free: 6.238 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.268/1.268, allocations: 205.1 MB / 222.6 MB, free: 4.703 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.3233/0.3233, allocations: 43.5 MB / 313.5 MB, free: 8.551 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.001312/0.001312, allocations: 70.56 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.12, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003393/0.1234, allocations: 2.442 MB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1246, allocations: 0.8033 MB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1247, allocations: 4 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1249, allocations: 51.69 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1251, allocations: 79.44 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1254, allocations: 87.92 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.1257, allocations: 322.8 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1259, allocations: 81.42 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1261, allocations: 127.5 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1262, allocations: 147.3 kB / 444 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.1263, allocations: 20 kB / 444.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.803e-05/0.1263, allocations: 20 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.1264, allocations: 59.75 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.1266, allocations: 135.2 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1269, allocations: 346.7 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1269, allocations: 0 / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1269, allocations: 4 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1269, allocations: 0 / 444.6 MB, free: 10.01 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.0011/0.128, allocations: 0.612 MB / 445.2 MB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1281, allocations: 8.031 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.984e-05/0.1281, allocations: 58.73 kB / 445.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.1282, allocations: 32.56 kB / 445.3 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1285, allocations: 267.5 kB / 445.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1286, allocations: 16.94 kB / 445.6 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.1286, allocations: 24.38 kB / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.1291, allocations: 253 kB / 445.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1291, allocations: 0 / 445.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1291, allocations: 8 kB / 445.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1291, allocations: 8 kB / 445.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.1296, allocations: 230.1 kB / 446.1 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.1309, allocations: 0.8715 MB / 447 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.1314, allocations: 310.7 kB / 447.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.1317, allocations: 148.8 kB / 447.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.1317, allocations: 15.91 kB / 447.5 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1317, allocations: 30.56 kB / 447.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.283e-06/0.1317, allocations: 0 / 447.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004372/0.1361, allocations: 1.262 MB / 448.7 MB, free: 5.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1362, allocations: 55.41 kB / 448.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1364, allocations: 213 kB / 449 MB, free: 5.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1364, allocations: 37.7 kB / 449 MB, free: 5.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.1365, allocations: 153.2 kB / 449.2 MB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.1366, allocations: 110.4 kB / 449.3 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.1367, allocations: 57.48 kB / 449.4 MB, free: 4.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1368, allocations: 338.8 kB / 449.7 MB, free: 4.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.137, allocations: 91.95 kB / 449.8 MB, free: 4.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.1372, allocations: 125.8 kB / 449.9 MB, free: 4.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.1377, allocations: 227.3 kB / 450.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1377, allocations: 0 / 450.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001718/0.1394, allocations: 0.5442 MB / 450.7 MB, free: 3.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1394, allocations: 4 kB / 450.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1394, allocations: 0 / 450.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.1411, allocations: 315.1 kB / 451 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1412, allocations: 19.98 kB / 451 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1767/0.3179, allocations: 6.33 MB / 457.3 MB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3182, allocations: 25.56 kB / 457.4 MB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3182, allocations: 9.594 kB / 457.4 MB, free: 45.09 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.0001285/0.3183, allocations: 141.8 kB / 457.5 MB, free: 44.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.3184, allocations: 27.3 kB / 457.5 MB, free: 44.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.32, allocations: 0.5495 MB / 458.1 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.32, allocations: 3.516 kB / 458.1 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.32, allocations: 0 / 458.1 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.32, allocations: 3.281 kB / 458.1 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.3203, allocations: 358.2 kB / 458.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3203, allocations: 3.75 kB / 458.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3204, allocations: 23.48 kB / 458.5 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.3219, allocations: 310 kB / 458.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3219, allocations: 13.23 kB / 458.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00513/0.327, allocations: 6.379 MB / 465.2 MB, free: 39.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.327, allocations: 0 / 465.2 MB, free: 39.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.3286, allocations: 0.6134 MB / 465.8 MB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.3286, allocations: 101.4 kB / 465.9 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3287, allocations: 6.875 kB / 465.9 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.3289, allocations: 10.19 kB / 465.9 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.329, allocations: 41.02 kB / 465.9 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.329, allocations: 9.5 kB / 465.9 MB, free: 39.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3291, allocations: 160.2 kB / 466.1 MB, free: 39.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3291, allocations: 0 / 466.1 MB, free: 39.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004633/0.3296, allocations: 117.4 kB / 466.2 MB, free: 39.21 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.001686/0.3313, allocations: 1.166 MB / 467.4 MB, free: 38.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007813/0.3321, allocations: 0.7447 MB / 468.1 MB, free: 38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3321, allocations: 1.312 kB / 468.1 MB, free: 38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.3331, allocations: 0.7282 MB / 468.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3335, allocations: 22.52 kB / 468.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.3385, allocations: 3.179 MB / 472 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3388, allocations: 0.7699 MB / 472.8 MB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.019e-05/0.3389, allocations: 9.141 kB / 472.8 MB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.339, allocations: 78.59 kB / 472.9 MB, free: 34.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.339, allocations: 0 / 472.9 MB, free: 34.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.3693, allocations: 9.954 MB / 482.9 MB, free: 33.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.3695, allocations: 229.1 kB / 483.1 MB, free: 33.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.433, allocations: 0 / 483.1 MB, free: 33.5 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