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.0008031/0.0008035, allocations: 102.7 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009904/0.0009905, allocations: 197.9 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.000311, allocations: 4 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1016, allocations: 51.49 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003724/0.1053, allocations: 3.677 MB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1075, allocations: 1.585 MB / 363.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1077, allocations: 12 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1081, allocations: 159.2 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.1085, allocations: 214.7 kB / 364 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1096, allocations: 0.6229 MB / 364.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.1102, allocations: 0.5907 MB / 365.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.1116, allocations: 0.8491 MB / 366 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.112, allocations: 227.1 kB / 366.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.1123, allocations: 310.7 kB / 366.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.1124, allocations: 28 kB / 366.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.1129, allocations: 255.7 kB / 366.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.113, allocations: 103.5 kB / 366.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1131, allocations: 137.4 kB / 367.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.1138, allocations: 0.7208 MB / 367.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1138, allocations: 4 kB / 367.8 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1138, allocations: 3.938 kB / 367.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1138, allocations: 0 / 367.8 MB, free: 4.426 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.003334/0.1171, allocations: 1.167 MB / 369 MB, free: 3.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1172, allocations: 8.031 kB / 369 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.1173, allocations: 118.6 kB / 369.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.1186, allocations: 207 kB / 369.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1189, allocations: 239.5 kB / 369.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.119, allocations: 58 kB / 369.6 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.1191, allocations: 72 kB / 369.6 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.1205, allocations: 0.7737 MB / 370.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.1206, allocations: 3.906 kB / 370.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.1207, allocations: 35.94 kB / 370.5 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.1207, allocations: 16 kB / 370.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.122, allocations: 0.6767 MB / 371.1 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1899/0.312, allocations: 3.278 MB / 374.4 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.3142, allocations: 2.077 MB / 376.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.3149, allocations: 331.5 kB / 376.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.315, allocations: 184.7 kB / 377 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3151, allocations: 39.14 kB / 377 MB, free: 15.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.046e-06/0.3151, allocations: 0.6875 kB / 377 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002669/0.3177, allocations: 1.175 MB / 378.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3178, allocations: 112.3 kB / 378.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.3181, allocations: 269.1 kB / 378.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3181, allocations: 40.45 kB / 378.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3183, allocations: 299.6 kB / 378.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.3184, allocations: 244.6 kB / 379.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.3185, allocations: 16.12 kB / 379.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.3186, allocations: 348.3 kB / 379.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.3191, allocations: 235.8 kB / 379.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.3196, allocations: 399.4 kB / 380.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.3201, allocations: 293.8 kB / 380.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3202, allocations: 1.469 kB / 380.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001507/0.3217, allocations: 0.8441 MB / 381.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3217, allocations: 7.219 kB / 381.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3217, allocations: 4.844 kB / 381.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.3221, allocations: 131.7 kB / 381.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.3228, allocations: 159.5 kB / 381.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.3251, allocations: 3.425 MB / 385 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.3255, allocations: 84.86 kB / 385.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.3256, allocations: 33.92 kB / 385.1 MB, free: 9.984 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 (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%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.3259, allocations: 199.8 kB / 385.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.326, allocations: 43.22 kB / 385.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.3276, allocations: 0.7688 MB / 386.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3276, allocations: 7.75 kB / 386.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3276, allocations: 4.062 kB / 386.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3276, allocations: 3.328 kB / 386.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.3302, allocations: 1.508 MB / 387.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3302, allocations: 3.938 kB / 387.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.3307, allocations: 120.3 kB / 387.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.331, allocations: 102.7 kB / 387.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.3311, allocations: 26.98 kB / 387.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.3331, allocations: 3.11 MB / 391 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3331, allocations: 7.469 kB / 391 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.3351, allocations: 1.143 MB / 392.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3352, allocations: 128.9 kB / 392.3 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.3353, allocations: 11.78 kB / 392.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.3356, allocations: 36.19 kB / 392.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.3358, allocations: 52.16 kB / 392.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.3358, allocations: 20.23 kB / 392.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.336, allocations: 197.4 kB / 392.6 MB, free: 4.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3361, allocations: 0 / 392.6 MB, free: 4.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009496/0.337, allocations: 218.7 kB / 392.8 MB, free: 4.73 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.002379/0.3394, allocations: 1.73 MB / 394.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3411, allocations: 0.9003 MB / 395.4 MB, free: 3.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3411, allocations: 4.25 kB / 395.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.3419, allocations: 0.5685 MB / 396 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3424, allocations: 41.17 kB / 396 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.3475, allocations: 3.064 MB / 399.1 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.348, allocations: 0.8686 MB / 400 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006983/0.3487, allocations: 81.34 kB / 400.1 MB, free: 292 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/0.3491, allocations: 197 kB / 400.2 MB, free: 144 kB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3491, allocations: 0 / 400.2 MB, free: 144 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.3751, allocations: 9.847 MB / 410.1 MB, free: 9.402 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.3754, allocations: 238.2 kB / 410.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.438, allocations: 0 / 410.3 MB, free: 9.164 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