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.001056/0.001056, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.61 kB / 307.1 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005959/0.1152, allocations: 4.321 MB / 361.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1182, allocations: 1.72 MB / 363.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.1186, allocations: 12 kB / 363.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.1211, allocations: 1.019 MB / 364.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009047/0.122, allocations: 250.2 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1236, allocations: 0.7629 MB / 365.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008838/0.1245, allocations: 0.6336 MB / 366.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000833/0.1254, allocations: 0.521 MB / 366.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004322/0.1258, allocations: 270.9 kB / 367.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.1263, allocations: 362.5 kB / 367.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1264, allocations: 56 kB / 367.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.1271, allocations: 291.7 kB / 367.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1273, allocations: 143.5 kB / 367.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.1276, allocations: 318.4 kB / 368.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.1288, allocations: 0.9734 MB / 369.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1288, allocations: 0 / 369.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1288, allocations: 0 / 369.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.1288, allocations: 0 / 369.2 MB, free: 2.332 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.003858/0.1327, allocations: 1.276 MB / 370.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1327, allocations: 8.031 kB / 370.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.1329, allocations: 118.8 kB / 370.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.1342, allocations: 204 kB / 370.8 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1345, allocations: 243.3 kB / 371.1 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.1345, allocations: 62.31 kB / 371.1 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.1347, allocations: 72.38 kB / 371.2 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1623/0.2969, allocations: 0.7613 MB / 371.9 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.297, allocations: 3.547 kB / 372 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.2971, allocations: 32.59 kB / 372 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2971, allocations: 18.31 kB / 372 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.2984, allocations: 0.6629 MB / 372.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00387/0.3023, allocations: 3.266 MB / 375.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.3043, allocations: 2.068 MB / 378 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.3048, allocations: 330.8 kB / 378.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.305, allocations: 177.6 kB / 378.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.305, allocations: 40.72 kB / 378.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.305, allocations: 0 / 378.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00247/0.3075, allocations: 1.142 MB / 379.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3075, allocations: 110.6 kB / 379.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3078, allocations: 278.5 kB / 380.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3079, allocations: 36.61 kB / 380.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.308, allocations: 298.3 kB / 380.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3081, allocations: 251 kB / 380.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.3083, allocations: 138.7 kB / 380.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.3084, allocations: 348.3 kB / 381.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.3089, allocations: 228.2 kB / 381.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.3094, allocations: 385.4 kB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3104, allocations: 0.6389 MB / 382.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3105, allocations: 1.5 kB / 382.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001597/0.3121, allocations: 0.8303 MB / 383.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.3121, allocations: 5.562 kB / 383.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3121, allocations: 4.5 kB / 383.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.3127, allocations: 133.6 kB / 383.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.3134, allocations: 152.5 kB / 383.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.3165, allocations: 3.791 MB / 387.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.317, allocations: 89.7 kB / 387.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.3171, allocations: 32.27 kB / 387.4 MB, free: 8.695 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002701/0.3173, allocations: 203.8 kB / 387.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3174, allocations: 43.81 kB / 387.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.3189, allocations: 0.7401 MB / 388.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3189, allocations: 11.66 kB / 388.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.319, allocations: 7.016 kB / 388.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.319, allocations: 7.562 kB / 388.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.3215, allocations: 1.493 MB / 389.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3215, allocations: 0.7812 kB / 389.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.322, allocations: 108.4 kB / 390 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.3223, allocations: 111.4 kB / 390.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.3223, allocations: 17.7 kB / 390.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.3244, allocations: 3.351 MB / 393.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3244, allocations: 0 / 393.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.3262, allocations: 1.116 MB / 394.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.3263, allocations: 124.1 kB / 394.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.3264, allocations: 17.41 kB / 394.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.3268, allocations: 30.97 kB / 394.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.327, allocations: 51.25 kB / 394.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.327, allocations: 19.16 kB / 394.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3272, allocations: 195 kB / 395 MB, free: 3.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3272, allocations: 0.6562 kB / 395 MB, free: 3.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009316/0.3281, allocations: 219.6 kB / 395.2 MB, free: 3.23 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002286/0.3304, allocations: 1.715 MB / 396.9 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.3325, allocations: 0.9063 MB / 397.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3325, allocations: 5.047 kB / 397.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008109/0.3333, allocations: 0.559 MB / 398.4 MB, free: 1.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.3339, allocations: 40.78 kB / 398.4 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008096/0.342, allocations: 4.794 MB / 403.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.3426, allocations: 0.8638 MB / 404.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.343, allocations: 78.41 kB / 404.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.3433, allocations: 199.8 kB / 404.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3433, allocations: 4 kB / 404.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.3793, allocations: 10.55 MB / 414.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.62, allocations: 15.86 kB / 414.9 MB, free: 4.062 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/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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches