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.0009603/0.0009603, allocations: 72.55 kB / 19.92 MB, free: 4.621 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.001514/0.001514, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9127/0.9127, allocations: 158.6 MB / 185 MB, free: 3.023 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.1391/0.1391, allocations: 32.37 MB / 269.6 MB, free: 15.05 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.43e-05, allocations: 5.234 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00274/0.002765, allocations: 2.261 MB / 409.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.004334, allocations: 0.7719 MB / 409.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.004486, allocations: 7.938 kB / 409.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.004703, allocations: 59.5 kB / 409.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.004927, allocations: 95.25 kB / 410 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.005175, allocations: 99.73 kB / 410.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.005445, allocations: 366.6 kB / 410.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.005612, allocations: 60.89 kB / 410.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.005843, allocations: 199.6 kB / 410.7 MB, free: 9.605 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.005996, allocations: 111.7 kB / 410.8 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.006038, allocations: 28 kB / 410.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.709e-05/0.006065, allocations: 28 kB / 410.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.006115, allocations: 75.66 kB / 411 MB, free: 9.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.006188, allocations: 99.75 kB / 411.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.006455, allocations: 370.8 kB / 411.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006459, allocations: 0 / 411.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.006461, allocations: 8 kB / 411.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.006467, allocations: 0 / 411.4 MB, free: 8.898 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007902/0.007257, allocations: 0.5441 MB / 412 MB, free: 8.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.007299, allocations: 11.97 kB / 412 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.007348, allocations: 58.73 kB / 412 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.007396, allocations: 36.7 kB / 412.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.007673, allocations: 197.3 kB / 412.3 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.00769, allocations: 16.88 kB / 412.3 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.007715, allocations: 24.38 kB / 412.3 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.008056, allocations: 256.5 kB / 412.6 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.008065, allocations: 192 / 412.6 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.008086, allocations: 12.12 kB / 412.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.008094, allocations: 8 kB / 412.6 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.008396, allocations: 229.9 kB / 412.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.009521, allocations: 0.7772 MB / 413.6 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.009901, allocations: 282.5 kB / 413.9 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.01008, allocations: 124.8 kB / 414 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.01011, allocations: 7.984 kB / 414 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.01013, allocations: 30.56 kB / 414 MB, free: 6.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.01013, allocations: 3.938 kB / 414 MB, free: 6.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.002126/0.01226, allocations: 0.9644 MB / 415 MB, free: 5.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.01229, allocations: 59.41 kB / 415 MB, free: 5.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.01245, allocations: 213.7 kB / 415.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.01247, allocations: 33.7 kB / 415.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.01256, allocations: 157.3 kB / 415.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.01261, allocations: 111 kB / 415.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.01267, allocations: 45.7 kB / 415.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01278, allocations: 338.8 kB / 415.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.01292, allocations: 99.94 kB / 416 MB, free: 4.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.01308, allocations: 121.8 kB / 416.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.01336, allocations: 227.3 kB / 416.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01336, allocations: 0 / 416.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000863/0.01422, allocations: 0.5403 MB / 416.9 MB, free: 3.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01424, allocations: 4 kB / 416.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01425, allocations: 0 / 416.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.01565, allocations: 315.1 kB / 417.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.01577, allocations: 27.92 kB / 417.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.0215, allocations: 6.36 MB / 423.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.02167, allocations: 24.12 kB / 423.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.02169, allocations: 16 kB / 423.6 MB, free: 11.97 MB / 362.7 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.0001737/0.02186, allocations: 153.8 kB / 423.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.0219, allocations: 23.86 kB / 423.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.02323, allocations: 0.5345 MB / 424.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.02324, allocations: 4 kB / 424.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.02324, allocations: 0 / 424.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02325, allocations: 7.984 kB / 424.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.02353, allocations: 296.4 kB / 424.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.02353, allocations: 0 / 424.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.02359, allocations: 23.97 kB / 424.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/0.02432, allocations: 323 kB / 425 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.02435, allocations: 4 kB / 425 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00481/0.02916, allocations: 6.413 MB / 431.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02916, allocations: 0 / 431.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.03002, allocations: 0.6128 MB / 432 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.03005, allocations: 31.75 kB / 432.1 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.03006, allocations: 7.938 kB / 432.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.03016, allocations: 15.98 kB / 432.1 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.0303, allocations: 31.94 kB / 432.1 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.03031, allocations: 8 kB / 432.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.03042, allocations: 165.2 kB / 432.3 MB, free: 2.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03042, allocations: 0 / 432.3 MB, free: 2.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.03085, allocations: 115.9 kB / 432.4 MB, free: 2.648 MB / 362.7 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.001111/0.03196, allocations: 1.156 MB / 433.5 MB, free: 1.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.03271, allocations: 0.7367 MB / 434.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03271, allocations: 0 / 434.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006571/0.03337, allocations: 0.7293 MB / 435 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.03363, allocations: 31.23 kB / 435 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.0374, allocations: 3.076 MB / 438.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.03793, allocations: 163.2 kB / 438.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.038, allocations: 9.953 kB / 438.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.0381, allocations: 80.47 kB / 438.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.0381, allocations: 0 / 438.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.07033, allocations: 11.7 MB / 450.1 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/7.876, allocations: 15.2 kB / 450.1 MB, free: 0.6641 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/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: 10.03724329546094]