Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001045/0.001046, allocations: 88.16 kB / 16.31 MB, free: 5.586 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.0012/0.0012, allocations: 177.5 kB / 17.21 MB, free: 5.504 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.368/1.368, allocations: 223.2 MB / 241.2 MB, free: 360 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002744, allocations: 12.88 kB / 300.9 MB, free: 6.367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 50.41 MB / 351.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004095/0.1106, allocations: 3.54 MB / 354.9 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1131, allocations: 1.492 MB / 356.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1133, allocations: 15.94 kB / 356.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.1138, allocations: 167.2 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.1143, allocations: 194.7 kB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1156, allocations: 0.6381 MB / 357.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.1162, allocations: 0.5638 MB / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.1175, allocations: 0.818 MB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.1179, allocations: 231.1 kB / 359 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.1182, allocations: 282.8 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.1183, allocations: 28 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.1188, allocations: 231.7 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.1189, allocations: 107.5 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.119, allocations: 125.5 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.1196, allocations: 0.6818 MB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1196, allocations: 0 / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1196, allocations: 4 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1197, allocations: 0 / 360.4 MB, free: 10.78 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003041/0.1227, allocations: 1.108 MB / 361.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1228, allocations: 8.031 kB / 361.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.1229, allocations: 114.5 kB / 361.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.1239, allocations: 175.1 kB / 361.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1241, allocations: 231.9 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1242, allocations: 46 kB / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1243, allocations: 75.86 kB / 362.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.1255, allocations: 0.7151 MB / 362.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1256, allocations: 3.938 kB / 362.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.1256, allocations: 24 kB / 362.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.1256, allocations: 24 kB / 362.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1269, allocations: 0.6131 MB / 363.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.1301, allocations: 2.324 MB / 365.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.1319, allocations: 1.644 MB / 367.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.1324, allocations: 279.7 kB / 367.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.1326, allocations: 93.67 kB / 367.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.1326, allocations: 51.14 kB / 367.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.946e-06/0.1326, allocations: 3.938 kB / 367.9 MB, free: 2.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001528/0.1341, allocations: 0.725 MB / 368.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.1343, allocations: 107.5 kB / 368.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.1346, allocations: 272.8 kB / 369 MB, free: 1.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.1346, allocations: 33.7 kB / 369.1 MB, free: 1.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.1349, allocations: 267.9 kB / 369.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.1351, allocations: 220.8 kB / 369.6 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1351, allocations: 16 kB / 369.6 MB, free: 1.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1353, allocations: 346.7 kB / 369.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.1358, allocations: 221.9 kB / 370.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.1363, allocations: 309.4 kB / 370.4 MB, free: 188 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2128/0.3491, allocations: 254.7 kB / 370.7 MB, free: 24.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.3492, allocations: 0.5312 kB / 370.7 MB, free: 24.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00184/0.351, allocations: 0.642 MB / 371.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.3511, allocations: 5.969 kB / 371.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3511, allocations: 2.109 kB / 371.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.3511, allocations: 9.062 kB / 371.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.3519, allocations: 167.9 kB / 371.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3519, allocations: 5.672 kB / 371.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.3524, allocations: 75.56 kB / 371.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.3525, allocations: 23.31 kB / 371.6 MB, free: 24.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.3528, allocations: 190.5 kB / 371.8 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.353, allocations: 38.12 kB / 371.8 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.3545, allocations: 0.6223 MB / 372.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.3545, allocations: 11 kB / 372.5 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3545, allocations: 0 / 372.5 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3545, allocations: 4.641 kB / 372.5 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.357, allocations: 1.319 MB / 373.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3571, allocations: 0 / 373.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.3576, allocations: 129.6 kB / 373.9 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.3576, allocations: 8.109 kB / 373.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.3577, allocations: 12.47 kB / 373.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3577, allocations: 4.047 kB / 373.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3577, allocations: 12.95 kB / 373.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3593, allocations: 0.9998 MB / 374.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.3594, allocations: 120.3 kB / 375.1 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.3595, allocations: 11.41 kB / 375.1 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.3599, allocations: 36.2 kB / 375.1 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.36, allocations: 42.72 kB / 375.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.36, allocations: 19.72 kB / 375.2 MB, free: 22.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.3603, allocations: 192.9 kB / 375.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3603, allocations: 0 / 375.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006906/0.361, allocations: 175.4 kB / 375.5 MB, free: 22.79 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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002052/0.363, allocations: 1.588 MB / 377.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.3643, allocations: 0.5501 MB / 377.7 MB, free: 21.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3644, allocations: 0 / 377.7 MB, free: 21.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.3649, allocations: 284.8 kB / 377.9 MB, free: 21.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.3655, allocations: 51.86 kB / 378 MB, free: 21.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.3702, allocations: 2.756 MB / 380.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3706, allocations: 0.8457 MB / 381.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004558/0.371, allocations: 84 kB / 381.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.3713, allocations: 180.7 kB / 381.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of SimCode: time 1.031e-06/0.3713, allocations: 0 / 381.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.3952, allocations: 8.509 MB / 390.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.3953, allocations: 225.7 kB / 390.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.371, allocations: 0 / 390.6 MB, free: 16.28 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat