Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001091/0.00109, allocations: 100.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002486, allocations: 4 kB / 306.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003701/0.1185, allocations: 3.452 MB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1211, allocations: 1.582 MB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.1213, allocations: 12 kB / 363.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.1218, allocations: 175 kB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.1223, allocations: 239.3 kB / 363.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1236, allocations: 0.6191 MB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.1241, allocations: 450.8 kB / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.1255, allocations: 0.8257 MB / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.1258, allocations: 235 kB / 365.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.1262, allocations: 294.8 kB / 366.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.1262, allocations: 28 kB / 366.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.1268, allocations: 231.7 kB / 366.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.1269, allocations: 107.6 kB / 366.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.127, allocations: 129.4 kB / 366.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.1277, allocations: 0.7131 MB / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1278, allocations: 0 / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1278, allocations: 0 / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1278, allocations: 4 kB / 367.3 MB, free: 4.645 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.003359/0.1311, allocations: 1.171 MB / 368.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1312, allocations: 8.031 kB / 368.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.1313, allocations: 118.6 kB / 368.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.1327, allocations: 207.1 kB / 368.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1329, allocations: 245.6 kB / 369 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.133, allocations: 54 kB / 369.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1331, allocations: 76 kB / 369.1 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1344, allocations: 0.7621 MB / 369.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.1344, allocations: 7.906 kB / 369.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.1345, allocations: 28 kB / 369.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.1345, allocations: 24 kB / 370 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1358, allocations: 0.6805 MB / 370.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1899/0.3257, allocations: 3.272 MB / 373.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.3279, allocations: 2.079 MB / 376 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.3281, allocations: 181.1 kB / 376.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3281, allocations: 42.03 kB / 376.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.3281, allocations: 0.7812 kB / 376.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002584/0.3307, allocations: 1.144 MB / 377.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3308, allocations: 112.9 kB / 377.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.3311, allocations: 273 kB / 377.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.3311, allocations: 36.73 kB / 377.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3313, allocations: 297.1 kB / 378 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.3314, allocations: 249.4 kB / 378.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.3315, allocations: 18.69 kB / 378.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.3316, allocations: 347.9 kB / 378.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.3321, allocations: 240.7 kB / 378.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.3326, allocations: 395.1 kB / 379.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.3331, allocations: 291.7 kB / 379.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3331, allocations: 5.375 kB / 379.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001466/0.3346, allocations: 0.8426 MB / 380.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3346, allocations: 5.406 kB / 380.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3347, allocations: 5.391 kB / 380.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.335, allocations: 122.3 kB / 380.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.3357, allocations: 162.4 kB / 380.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.3376, allocations: 3.168 MB / 383.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.3381, allocations: 90.89 kB / 383.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.3382, allocations: 30 kB / 384 MB, free: 10.23 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.0002227/0.3384, allocations: 206.8 kB / 384.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.3385, allocations: 44.88 kB / 384.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.3399, allocations: 0.7535 MB / 385 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.34, allocations: 7.562 kB / 385 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.34, allocations: 3.562 kB / 385 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.34, allocations: 7.531 kB / 385 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.3421, allocations: 1.443 MB / 386.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3421, allocations: 0 / 386.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.3426, allocations: 119.3 kB / 386.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.3429, allocations: 111.8 kB / 386.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.3429, allocations: 27.61 kB / 386.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.3448, allocations: 3.157 MB / 389.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3449, allocations: 0.6094 kB / 389.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3467, allocations: 1.165 MB / 391 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.3468, allocations: 123.9 kB / 391.1 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.3468, allocations: 16.55 kB / 391.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.3472, allocations: 35.5 kB / 391.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3473, allocations: 54.64 kB / 391.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.3474, allocations: 24.3 kB / 391.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.3476, allocations: 188.2 kB / 391.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3476, allocations: 0 / 391.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007452/0.3483, allocations: 222 kB / 391.7 MB, free: 4.973 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.002084/0.3504, allocations: 1.828 MB / 393.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.3521, allocations: 0.8936 MB / 394.4 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3521, allocations: 0 / 394.4 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.3529, allocations: 0.5731 MB / 395 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3532, allocations: 26.97 kB / 395 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.3586, allocations: 5.478 MB / 400.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.3591, allocations: 0.8802 MB / 401.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000419/0.3595, allocations: 87.56 kB / 401.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.3598, allocations: 203.9 kB / 401.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3598, allocations: 0 / 401.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.3834, allocations: 9.728 MB / 411.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.3837, allocations: 236.1 kB / 411.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.573, allocations: 2.953 kB / 411.6 MB, free: 7.609 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat