Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 109.6 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 47.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2467, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005025/0.2517, allocations: 4.325 MB / 400.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.2548, allocations: 1.706 MB / 402.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.2552, allocations: 13 kB / 402.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.2576, allocations: 1.03 MB / 403.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2587, allocations: 257.5 kB / 403.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.2604, allocations: 0.761 MB / 404.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.2613, allocations: 0.6342 MB / 405.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007603/0.262, allocations: 479 kB / 405.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.2625, allocations: 280 kB / 405.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.263, allocations: 358.2 kB / 406.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.2631, allocations: 56.41 kB / 406.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.264, allocations: 274.9 kB / 406.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2641, allocations: 137.2 kB / 406.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.2644, allocations: 326.2 kB / 406.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.2662, allocations: 0.9615 MB / 407.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2662, allocations: 0 / 407.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.2662, allocations: 1.375 kB / 407.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.845e-05/0.2662, allocations: 0.6094 kB / 407.9 MB, free: 1.797 MB / 318.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.003873/0.2701, allocations: 1.202 MB / 409.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2701, allocations: 13.95 kB / 409.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.2703, allocations: 116.5 kB / 409.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.2716, allocations: 208.2 kB / 409.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2719, allocations: 193.1 kB / 409.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.2719, allocations: 55.22 kB / 409.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.2721, allocations: 73.16 kB / 409.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.2734, allocations: 0.776 MB / 410.5 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.2735, allocations: 9.734 kB / 410.5 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.2735, allocations: 30.44 kB / 410.6 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2735, allocations: 18.06 kB / 410.6 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2748, allocations: 0.6631 MB / 411.3 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.2796, allocations: 2.863 MB / 414.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.2814, allocations: 0.8007 MB / 414.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/0.282, allocations: 295.1 kB / 415.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.2821, allocations: 21.48 kB / 415.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.2822, allocations: 38.09 kB / 415.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.2822, allocations: 1.094 kB / 415.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002712/0.2849, allocations: 0.9906 MB / 416.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.285, allocations: 115.1 kB / 416.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.2853, allocations: 273.6 kB / 416.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.2854, allocations: 36.3 kB / 416.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.2856, allocations: 305.2 kB / 417 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.2858, allocations: 254.8 kB / 417.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.286, allocations: 142.9 kB / 417.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2862, allocations: 354.7 kB / 417.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.2867, allocations: 229.7 kB / 417.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.2874, allocations: 385.3 kB / 418.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.2885, allocations: 0.6372 MB / 418.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2885, allocations: 5.125 kB / 418.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001639/0.2902, allocations: 0.828 MB / 419.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2902, allocations: 6.875 kB / 419.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2902, allocations: 4.344 kB / 419.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.2906, allocations: 123.1 kB / 419.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.2913, allocations: 164.7 kB / 420.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.2949, allocations: 3.588 MB / 423.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.2954, allocations: 83.75 kB / 423.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.2955, allocations: 34.83 kB / 423.8 MB, free: 6.457 MB / 334.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.0003257/0.2958, allocations: 202.7 kB / 424 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2959, allocations: 44.19 kB / 424 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.2975, allocations: 0.7369 MB / 424.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2975, allocations: 6.906 kB / 424.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2975, allocations: 2.812 kB / 424.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.2976, allocations: 9.203 kB / 424.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.3002, allocations: 1.454 MB / 426.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3002, allocations: 4 kB / 426.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.3008, allocations: 111.9 kB / 426.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.3011, allocations: 113.6 kB / 426.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.3011, allocations: 20 kB / 426.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/0.3042, allocations: 3.146 MB / 429.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3042, allocations: 0 / 429.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.3064, allocations: 1.117 MB / 430.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3065, allocations: 55.55 kB / 430.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.3066, allocations: 16 kB / 430.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.307, allocations: 28.05 kB / 430.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.3071, allocations: 56.55 kB / 430.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.3072, allocations: 19.98 kB / 430.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.3074, allocations: 197.2 kB / 431.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3074, allocations: 0 / 431.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008655/0.3082, allocations: 207.7 kB / 431.3 MB, free: 15.32 MB / 350.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.002541/0.3108, allocations: 1.72 MB / 433 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.3125, allocations: 0.8484 MB / 433.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3125, allocations: 4 kB / 433.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008451/0.3133, allocations: 0.5291 MB / 434.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.3138, allocations: 40.48 kB / 434.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/0.3215, allocations: 4.775 MB / 439.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.3221, allocations: 0.8616 MB / 440.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.3224, allocations: 84.36 kB / 440.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.3227, allocations: 199.4 kB / 440.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3227, allocations: 0 / 440.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0706/0.3933, allocations: 11.32 MB / 451.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.14, allocations: 15.84 kB / 451.7 MB, free: 10.56 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.64799111103639]