Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.001027/0.001027, allocations: 107.8 kB / 16.92 MB, free: 6.145 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.001158/0.001158, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 42.62 kB / 300.7 MB, free: 5.723 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1369, allocations: 49.44 MB / 350.2 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00684/0.1438, allocations: 4.324 MB / 354.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.1471, allocations: 1.65 MB / 356.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.1474, allocations: 12 kB / 356.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.1497, allocations: 1.019 MB / 357.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007769/0.1505, allocations: 250.2 kB / 357.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.152, allocations: 0.794 MB / 358.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005979/0.1526, allocations: 0.63 MB / 358.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.1534, allocations: 0.5172 MB / 359.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.1537, allocations: 278.9 kB / 359.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.1541, allocations: 362.5 kB / 360 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-05/0.1542, allocations: 56 kB / 360.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1547, allocations: 263.8 kB / 360.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1548, allocations: 143.5 kB / 360.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.1551, allocations: 326.4 kB / 360.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.1561, allocations: 0.95 MB / 361.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1561, allocations: 0 / 361.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1561, allocations: 0 / 361.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1561, allocations: 4 kB / 361.7 MB, free: 8.668 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003552/0.1597, allocations: 1.26 MB / 363 MB, free: 7.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1598, allocations: 16.02 kB / 363 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.1599, allocations: 114.8 kB / 363.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.1613, allocations: 212 kB / 363.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1615, allocations: 251.2 kB / 363.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.1615, allocations: 54.38 kB / 363.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.1616, allocations: 72.38 kB / 363.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.1629, allocations: 0.77 MB / 364.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1629, allocations: 3.906 kB / 364.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.688e-05/0.163, allocations: 32 kB / 364.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.163, allocations: 20 kB / 364.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1643, allocations: 0.661 MB / 365.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.1682, allocations: 3.107 MB / 368.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1459/0.3141, allocations: 2.075 MB / 370.4 MB, free: 24.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/0.315, allocations: 327.3 kB / 370.7 MB, free: 24.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.3151, allocations: 101.6 kB / 370.8 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3152, allocations: 39.22 kB / 370.8 MB, free: 24.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.276e-06/0.3152, allocations: 0 / 370.8 MB, free: 24.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002623/0.3178, allocations: 1.141 MB / 372 MB, free: 24.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3179, allocations: 118.8 kB / 372.1 MB, free: 24.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.3182, allocations: 270.7 kB / 372.3 MB, free: 23.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.3182, allocations: 37.12 kB / 372.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3184, allocations: 298.6 kB / 372.7 MB, free: 23.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.3185, allocations: 246.2 kB / 372.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.3187, allocations: 140.3 kB / 373 MB, free: 23.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.3188, allocations: 348.8 kB / 373.4 MB, free: 23.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.3193, allocations: 231.1 kB / 373.6 MB, free: 23.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.3199, allocations: 383.9 kB / 374 MB, free: 23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.321, allocations: 0.6329 MB / 374.6 MB, free: 22.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.321, allocations: 1.094 kB / 374.6 MB, free: 22.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001447/0.3224, allocations: 0.8319 MB / 375.4 MB, free: 22.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3225, allocations: 5.5 kB / 375.4 MB, free: 22.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3225, allocations: 8.781 kB / 375.5 MB, free: 22.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.3229, allocations: 131.3 kB / 375.6 MB, free: 22.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.3235, allocations: 160 kB / 375.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.3259, allocations: 3.792 MB / 379.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.3265, allocations: 87.19 kB / 379.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.3265, allocations: 32.81 kB / 379.7 MB, free: 18.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.3267, allocations: 200.3 kB / 379.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.3268, allocations: 44.25 kB / 379.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.3283, allocations: 0.746 MB / 380.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3283, allocations: 8.359 kB / 380.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3283, allocations: 7 kB / 380.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3283, allocations: 3.609 kB / 380.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.3306, allocations: 1.498 MB / 382.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3306, allocations: 0.9375 kB / 382.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.3311, allocations: 111.1 kB / 382.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.3314, allocations: 110.8 kB / 382.4 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.3315, allocations: 23.7 kB / 382.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.3335, allocations: 3.344 MB / 385.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3335, allocations: 1.812 kB / 385.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.3355, allocations: 1.123 MB / 386.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3356, allocations: 128.2 kB / 387 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.3357, allocations: 19.64 kB / 387 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.3361, allocations: 28.17 kB / 387 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.3363, allocations: 52.09 kB / 387.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.3364, allocations: 19.91 kB / 387.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.3366, allocations: 195.4 kB / 387.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3366, allocations: 0 / 387.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009181/0.3376, allocations: 214 kB / 387.5 MB, free: 13.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002334/0.3399, allocations: 1.717 MB / 389.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.342, allocations: 0.8984 MB / 390.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.342, allocations: 1.281 kB / 390.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007521/0.3427, allocations: 0.5705 MB / 390.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.3433, allocations: 49.02 kB / 390.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.3501, allocations: 4.797 MB / 395.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3504, allocations: 0.8613 MB / 396.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.3508, allocations: 81.3 kB / 396.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.3511, allocations: 204 kB / 396.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3511, allocations: 0 / 396.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.3853, allocations: 10.52 MB / 407.2 MB, free: 15.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.64, allocations: 3.719 kB / 407.2 MB, free: 15.82 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches