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.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: 122.2 kB / 17.84 MB, free: 5.203 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.0014/0.0014, allocations: 211.8 kB / 20.8 MB, free: 2.258 MB / 14.72 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 1.593/1.593, allocations: 207.6 MB / 231.2 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] 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.3714/0.3714, allocations: 44.23 MB / 327.3 MB, free: 6.715 MB / 254.1 MB " [Timeout remaining time 179] 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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 71.89 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3234, allocations: 61 MB / 0.5116 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00401/0.3274, allocations: 2.421 MB / 0.514 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3288, allocations: 0.8165 MB / 0.5148 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.329, allocations: 5.5 kB / 0.5148 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.3292, allocations: 48.67 kB / 0.5148 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.3294, allocations: 110.4 kB / 0.5149 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3297, allocations: 92.81 kB / 0.515 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.33, allocations: 349.5 kB / 0.5154 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.3302, allocations: 65 kB / 0.5154 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.3304, allocations: 140.4 kB / 0.5156 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3306, allocations: 157.1 kB / 0.5157 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.3307, allocations: 30.09 kB / 0.5157 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.3308, allocations: 28.31 kB / 0.5158 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.3308, allocations: 71.62 kB / 0.5158 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.331, allocations: 144.2 kB / 0.516 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.3313, allocations: 366.4 kB / 0.5163 GB, free: 9.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3313, allocations: 0 / 0.5163 GB, free: 9.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3313, allocations: 1.156 kB / 0.5163 GB, free: 9.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3313, allocations: 0 / 0.5163 GB, free: 9.523 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.001098/0.3324, allocations: 0.6149 MB / 0.5169 GB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.3325, allocations: 22.64 kB / 0.5169 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.456e-05/0.3325, allocations: 6.25 kB / 0.5169 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.3326, allocations: 66.91 kB / 0.517 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.3327, allocations: 31.88 kB / 0.517 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.3331, allocations: 265.9 kB / 0.5173 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.3331, allocations: 14.56 kB / 0.5173 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.3332, allocations: 23.5 kB / 0.5173 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.3337, allocations: 250.4 kB / 0.5176 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3338, allocations: 5.312 kB / 0.5176 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.3338, allocations: 9.375 kB / 0.5176 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.3338, allocations: 10.86 kB / 0.5176 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.3343, allocations: 231.1 kB / 0.5178 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3357, allocations: 0.873 MB / 0.5187 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.3362, allocations: 282.7 kB / 0.5189 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.3364, allocations: 120.8 kB / 0.5191 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.3365, allocations: 11.98 kB / 0.5191 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.3365, allocations: 38.5 kB / 0.5191 GB, free: 7.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.3365, allocations: 0 / 0.5191 GB, free: 7.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004155/0.3407, allocations: 1.25 MB / 0.5203 GB, free: 5.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.3407, allocations: 59.34 kB / 0.5204 GB, free: 5.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3409, allocations: 213 kB / 0.5206 GB, free: 5.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3409, allocations: 29.7 kB / 0.5206 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.3409, allocations: 161.3 kB / 0.5208 GB, free: 5.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.341, allocations: 115 kB / 0.5209 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.3411, allocations: 53.56 kB / 0.5209 GB, free: 5.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.3411, allocations: 334.8 kB / 0.5212 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3413, allocations: 95.95 kB / 0.5213 GB, free: 4.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.3415, allocations: 117.9 kB / 0.5214 GB, free: 4.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.3419, allocations: 227.3 kB / 0.5217 GB, free: 4.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3419, allocations: 0 / 0.5217 GB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001597/0.3435, allocations: 0.5403 MB / 0.5222 GB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3435, allocations: 4 kB / 0.5222 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3435, allocations: 7.984 kB / 0.5222 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.345, allocations: 307.2 kB / 0.5225 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3452, allocations: 27.97 kB / 0.5225 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.3526, allocations: 6.837 MB / 0.5292 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.3528, allocations: 27.84 kB / 0.5292 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3529, allocations: 4 kB / 0.5292 GB, free: 12 MB / 398.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.0003272/0.3532, allocations: 153.8 kB / 0.5294 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.3533, allocations: 27.81 kB / 0.5294 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.3551, allocations: 0.5434 MB / 0.5299 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3551, allocations: 7.875 kB / 0.5299 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3551, allocations: 4 kB / 0.5299 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3551, allocations: 3.984 kB / 0.5299 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.3557, allocations: 345.4 kB / 0.5303 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3557, allocations: 0 / 0.5303 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.3558, allocations: 23.97 kB / 0.5303 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.3574, allocations: 311.1 kB / 0.5306 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.3574, allocations: 4 kB / 0.5306 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008717/0.3661, allocations: 6.898 MB / 0.5373 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3661, allocations: 0 / 0.5373 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.368, allocations: 0.6193 MB / 0.5379 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.3681, allocations: 100.9 kB / 0.538 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.3682, allocations: 7.984 kB / 0.538 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3684, allocations: 8 kB / 0.5381 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3685, allocations: 35.94 kB / 0.5381 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3685, allocations: 12 kB / 0.5381 GB, free: 2.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.3687, allocations: 160.5 kB / 0.5383 GB, free: 2.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3687, allocations: 4 kB / 0.5383 GB, free: 2.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005671/0.3692, allocations: 119.8 kB / 0.5384 GB, free: 1.941 MB / 398.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.002251/0.3715, allocations: 1.161 MB / 0.5395 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.373, allocations: 0.7408 MB / 0.5402 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.373, allocations: 4 kB / 0.5402 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.3745, allocations: 0.721 MB / 0.5409 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3748, allocations: 24.38 kB / 0.541 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/0.3815, allocations: 3.094 MB / 0.544 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.382, allocations: 0.7678 MB / 0.5447 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.839e-05/0.3821, allocations: 25.88 kB / 0.5448 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3822, allocations: 75.41 kB / 0.5448 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3822, allocations: 0 / 0.5448 GB, free: 11.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.4252, allocations: 10.87 MB / 0.5554 GB, free: 172 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.43, allocations: 5.812 kB / 0.5554 GB, free: 168 kB / 414.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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: 16.508592229976784]