Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_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.001007/0.001007, allocations: 93.84 kB / 16.93 MB, free: 5.984 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.0008669/0.0008669, allocations: 178.6 kB / 17.82 MB, free: 5.652 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.24/1.24, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.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.0006644/0.0006644, allocations: 12 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1027, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003602/0.1064, allocations: 3.402 MB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1086, allocations: 1.548 MB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.1088, allocations: 12 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.1092, allocations: 175 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.1096, allocations: 235.4 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1109, allocations: 0.6426 MB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.1114, allocations: 451 kB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.1127, allocations: 0.8257 MB / 335.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.1131, allocations: 227.1 kB / 335.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.1134, allocations: 294.8 kB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.1134, allocations: 28 kB / 336.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004241/0.1139, allocations: 211.8 kB / 336.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.114, allocations: 99.58 kB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1141, allocations: 145.3 kB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.1147, allocations: 0.7013 MB / 337.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1147, allocations: 0 / 337.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1148, allocations: 0 / 337.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1148, allocations: 0 / 337.4 MB, free: 10.97 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.003199/0.118, allocations: 1.155 MB / 338.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.118, allocations: 8.031 kB / 338.5 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.1182, allocations: 114.6 kB / 338.7 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.1195, allocations: 214.9 kB / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1197, allocations: 238.2 kB / 339.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.1198, allocations: 58 kB / 339.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1199, allocations: 72 kB / 339.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.1212, allocations: 0.7659 MB / 340 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.1212, allocations: 4 kB / 340 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.1213, allocations: 28 kB / 340 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.1213, allocations: 20 kB / 340 MB, free: 8.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1226, allocations: 0.6844 MB / 340.7 MB, free: 7.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.1265, allocations: 3.118 MB / 343.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.1288, allocations: 2.089 MB / 345.9 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.129, allocations: 101.7 kB / 346 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.129, allocations: 39.22 kB / 346.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/0.129, allocations: 0 / 346.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002438/0.1315, allocations: 1.143 MB / 347.2 MB, free: 380 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.1315, allocations: 115.5 kB / 347.3 MB, free: 240 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.1318, allocations: 282.4 kB / 347.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.1319, allocations: 33.7 kB / 347.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.1321, allocations: 291.5 kB / 347.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.1322, allocations: 252.4 kB / 348.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.1323, allocations: 16 kB / 348.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1324, allocations: 346.8 kB / 348.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.1329, allocations: 241.9 kB / 348.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.1335, allocations: 390.2 kB / 349.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.1341, allocations: 295 kB / 349.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1341, allocations: 3.938 kB / 349.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001553/0.1357, allocations: 0.8461 MB / 350.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1357, allocations: 8 kB / 350.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1357, allocations: 4 kB / 350.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.1361, allocations: 125.7 kB / 350.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/0.1368, allocations: 167.7 kB / 350.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.1394, allocations: 3.163 MB / 353.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.14, allocations: 91.19 kB / 353.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.1401, allocations: 28 kB / 353.9 MB, free: 9.332 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.0002611/0.1403, allocations: 201.9 kB / 354.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/0.1404, allocations: 43.59 kB / 354.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.1419, allocations: 0.7646 MB / 354.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.1419, allocations: 8 kB / 354.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1419, allocations: 7.984 kB / 354.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.142, allocations: 3.984 kB / 354.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.1442, allocations: 1.441 MB / 356.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.1442, allocations: 0 / 356.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.1447, allocations: 115.8 kB / 356.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002708/0.145, allocations: 118.4 kB / 356.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.145, allocations: 16 kB / 356.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.1475, allocations: 3.148 MB / 359.7 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1475, allocations: 4 kB / 359.7 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.1494, allocations: 1.169 MB / 360.9 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1495, allocations: 120.5 kB / 361 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.1496, allocations: 16 kB / 361 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.15, allocations: 31.97 kB / 361.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1501, allocations: 64.45 kB / 361.1 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.1502, allocations: 24.06 kB / 361.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1504, allocations: 190 kB / 361.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1504, allocations: 0 / 361.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007051/0.1511, allocations: 211.5 kB / 361.5 MB, free: 1.254 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 (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.002263/0.1534, allocations: 1.814 MB / 363.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.1549, allocations: 0.8953 MB / 364.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1549, allocations: 0 / 364.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.1557, allocations: 0.5798 MB / 364.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.156, allocations: 24.56 kB / 364.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.1617, allocations: 5.48 MB / 370.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1622, allocations: 0.8733 MB / 371.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004044/0.1626, allocations: 80.36 kB / 371.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.1629, allocations: 207.3 kB / 371.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1629, allocations: 3.938 kB / 371.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.164/0.3269, allocations: 9.639 MB / 381.1 MB, free: 51.01 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.3271, allocations: 240.2 kB / 381.4 MB, free: 50.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.297, allocations: 4 kB / 381.4 MB, free: 50.76 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat