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.00113/0.00113, allocations: 106.9 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.95 kB / 306.4 MB, free: 0.6992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 50.54 MB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005566/0.1079, allocations: 4.328 MB / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.1108, allocations: 1.709 MB / 362.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004368/0.1112, allocations: 12 kB / 363 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.1134, allocations: 0.9528 MB / 363.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007091/0.1142, allocations: 218.7 kB / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1157, allocations: 0.7362 MB / 364.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008243/0.1165, allocations: 0.6102 MB / 365.5 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/0.1174, allocations: 477.9 kB / 365.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.118, allocations: 255 kB / 366.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.1186, allocations: 350.5 kB / 366.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.1187, allocations: 44 kB / 366.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007263/0.1195, allocations: 275.7 kB / 366.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1196, allocations: 123.5 kB / 367 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.12, allocations: 318.3 kB / 367.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.121, allocations: 0.9461 MB / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.121, allocations: 0 / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.121, allocations: 0 / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.1211, allocations: 0 / 368.2 MB, free: 2.797 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.003977/0.1251, allocations: 1.276 MB / 369.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1251, allocations: 8.031 kB / 369.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.1253, allocations: 122.8 kB / 369.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.1267, allocations: 208 kB / 369.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1269, allocations: 250.7 kB / 370.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.127, allocations: 62.38 kB / 370.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1271, allocations: 72.38 kB / 370.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1381/0.2653, allocations: 0.7593 MB / 371 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.2653, allocations: 5.578 kB / 371 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.2654, allocations: 33.69 kB / 371 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.2655, allocations: 17.59 kB / 371 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.2669, allocations: 0.6606 MB / 371.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.2706, allocations: 3.272 MB / 374.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.2725, allocations: 2.074 MB / 377 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.2731, allocations: 319.1 kB / 377.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.2732, allocations: 181.5 kB / 377.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2733, allocations: 39.86 kB / 377.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.2733, allocations: 4.859 kB / 377.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00225/0.2755, allocations: 1.138 MB / 378.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2756, allocations: 113.8 kB / 378.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.2758, allocations: 278.2 kB / 379.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.2758, allocations: 37.14 kB / 379.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.276, allocations: 301.8 kB / 379.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.2761, allocations: 242.1 kB / 379.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.2763, allocations: 136.9 kB / 379.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.978e-05/0.2763, allocations: 347.3 kB / 380.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.2768, allocations: 231.9 kB / 380.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.2773, allocations: 385.5 kB / 380.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.2783, allocations: 0.6311 MB / 381.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2783, allocations: 2 kB / 381.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001364/0.2796, allocations: 0.8272 MB / 382.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2797, allocations: 6.812 kB / 382.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2797, allocations: 7.062 kB / 382.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.28, allocations: 127.1 kB / 382.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.2807, allocations: 164.3 kB / 382.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.2829, allocations: 3.415 MB / 385.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.2833, allocations: 89.83 kB / 386 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.2834, allocations: 35.09 kB / 386 MB, free: 9.363 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.000195/0.2836, allocations: 204.3 kB / 386.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.2837, allocations: 47.7 kB / 386.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.285, allocations: 0.7344 MB / 387 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.285, allocations: 7.719 kB / 387 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.285, allocations: 6.75 kB / 387 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.2851, allocations: 4.844 kB / 387 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.2872, allocations: 1.489 MB / 388.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2872, allocations: 1.094 kB / 388.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.2877, allocations: 113.4 kB / 388.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.2879, allocations: 111.4 kB / 388.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.288, allocations: 13.67 kB / 388.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.2898, allocations: 3.116 MB / 391.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2898, allocations: 1.094 kB / 391.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.2915, allocations: 1.112 MB / 393 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.2916, allocations: 130.2 kB / 393.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.2916, allocations: 12.34 kB / 393.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.292, allocations: 35.91 kB / 393.1 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2921, allocations: 48.66 kB / 393.2 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.2922, allocations: 21.7 kB / 393.2 MB, free: 4.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.2923, allocations: 195.2 kB / 393.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2924, allocations: 0 / 393.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000759/0.2931, allocations: 215.2 kB / 393.6 MB, free: 4.129 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.001936/0.2951, allocations: 1.713 MB / 395.3 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.2964, allocations: 0.8817 MB / 396.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2964, allocations: 1.281 kB / 396.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.2971, allocations: 0.5656 MB / 396.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.2976, allocations: 36.97 kB / 396.8 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.3036, allocations: 5.058 MB / 401.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.304, allocations: 0.8639 MB / 402.7 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.3044, allocations: 81.22 kB / 402.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.3047, allocations: 199.9 kB / 403 MB, free: 13.99 MB / 318.1 MB Notification: Performance of SimCode: time 2.695e-06/0.3047, allocations: 3.938 kB / 403 MB, free: 13.99 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.3268, allocations: 10.12 MB / 413.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.327, allocations: 262.2 kB / 413.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.408, allocations: 0 / 413.4 MB, free: 5.398 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