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.001024/0.001024, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.001067/0.001067, allocations: 182.4 kB / 17.19 MB, free: 5.906 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.415/1.415, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002551, allocations: 4.625 kB / 300.8 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1098, allocations: 50.42 MB / 351.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004174/0.114, allocations: 3.453 MB / 354.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.1169, allocations: 1.504 MB / 356.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.1171, allocations: 19.88 kB / 356.2 MB, free: 6.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.1176, allocations: 171 kB / 356.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.1182, allocations: 239.3 kB / 356.6 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1196, allocations: 0.6348 MB / 357.2 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.1203, allocations: 447 kB / 357.7 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.1218, allocations: 0.8247 MB / 358.5 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.1222, allocations: 235 kB / 358.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.1226, allocations: 290.8 kB / 359 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.1226, allocations: 32 kB / 359.1 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.1232, allocations: 211.8 kB / 359.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.1233, allocations: 103.6 kB / 359.4 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1234, allocations: 129.4 kB / 359.5 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.1241, allocations: 0.7089 MB / 360.2 MB, free: 2.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1241, allocations: 0 / 360.2 MB, free: 2.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1241, allocations: 0 / 360.2 MB, free: 2.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1241, allocations: 0 / 360.2 MB, free: 2.547 MB / 286.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.003422/0.1276, allocations: 1.151 MB / 361.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1276, allocations: 16.03 kB / 361.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.1278, allocations: 122.6 kB / 361.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.1292, allocations: 203.1 kB / 361.7 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1294, allocations: 238 kB / 361.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.1295, allocations: 57.95 kB / 362 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1296, allocations: 75.98 kB / 362 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.131, allocations: 0.766 MB / 362.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.131, allocations: 3.906 kB / 362.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.1311, allocations: 32 kB / 362.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.1311, allocations: 20 kB / 362.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1324, allocations: 0.6883 MB / 363.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.1364, allocations: 3.115 MB / 366.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.1387, allocations: 2.068 MB / 368.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.1388, allocations: 101.7 kB / 368.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1389, allocations: 43.5 kB / 368.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.406e-06/0.1389, allocations: 0 / 368.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002461/0.1413, allocations: 1.154 MB / 370 MB, free: 7.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.1414, allocations: 119.4 kB / 370.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.1417, allocations: 270.5 kB / 370.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.1418, allocations: 37.7 kB / 370.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.142, allocations: 295.4 kB / 370.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.1422, allocations: 240.5 kB / 371 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1422, allocations: 16 kB / 371 MB, free: 6.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1424, allocations: 350.8 kB / 371.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.1429, allocations: 241.9 kB / 371.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.1435, allocations: 394.2 kB / 372 MB, free: 5.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.144, allocations: 298.9 kB / 372.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.1441, allocations: 4.203 kB / 372.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001495/0.1456, allocations: 0.8461 MB / 373.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1456, allocations: 11.94 kB / 373.1 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1456, allocations: 4 kB / 373.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.146, allocations: 105.8 kB / 373.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.1466, allocations: 171.7 kB / 373.4 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.1493, allocations: 3.159 MB / 376.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.1499, allocations: 91.27 kB / 376.6 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/0.15, allocations: 31.98 kB / 376.7 MB, free: 0.9336 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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003398/0.1503, allocations: 205.5 kB / 376.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.1504, allocations: 39.53 kB / 376.9 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.1519, allocations: 0.7648 MB / 377.7 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.1519, allocations: 8 kB / 377.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.152, allocations: 4 kB / 377.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.152, allocations: 3.984 kB / 377.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.1544, allocations: 1.441 MB / 379.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1544, allocations: 4 kB / 379.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.1549, allocations: 119.8 kB / 379.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.1552, allocations: 106.5 kB / 379.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.1552, allocations: 19.98 kB / 379.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.1578, allocations: 3.149 MB / 382.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1579, allocations: 3.938 kB / 382.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.1598, allocations: 1.177 MB / 383.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.16, allocations: 124.5 kB / 383.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.1601, allocations: 12 kB / 383.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.1604, allocations: 39.97 kB / 383.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1606, allocations: 48.58 kB / 383.9 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.1606, allocations: 20 kB / 383.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1608, allocations: 194 kB / 384.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1608, allocations: 0 / 384.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007818/0.1616, allocations: 219.5 kB / 384.3 MB, free: 8.848 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/0.1641, allocations: 1.825 MB / 386.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.1658, allocations: 0.8875 MB / 387 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.1658, allocations: 4 kB / 387.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.1667, allocations: 0.5719 MB / 387.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.167, allocations: 41.05 kB / 387.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.1727, allocations: 5.473 MB / 393.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1731, allocations: 0.8811 MB / 394 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.1735, allocations: 76.36 kB / 394.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.1738, allocations: 199.4 kB / 394.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1738, allocations: 4 kB / 394.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1969, allocations: 9.682 MB / 404 MB, free: 5.184 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.1972, allocations: 236.1 kB / 404.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.237, allocations: 3.281 kB / 404.2 MB, free: 4.941 MB / 334.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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat