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.001375/0.001375, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.0028/0.0028, allocations: 212 kB / 24.47 MB, free: 3.547 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.489/1.489, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001833/0.001833, allocations: 55.92 kB / 347.2 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3478, allocations: 49.16 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005147/0.3529, allocations: 3.87 MB / 400.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.3561, allocations: 1.591 MB / 401.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.3564, allocations: 12.69 kB / 401.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.3588, allocations: 0.9552 MB / 402.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006514/0.3594, allocations: 253.5 kB / 403 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3609, allocations: 0.7116 MB / 403.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.3616, allocations: 0.638 MB / 404.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006767/0.3623, allocations: 466.1 kB / 404.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.3626, allocations: 282.3 kB / 405.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.3631, allocations: 321.7 kB / 405.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.3632, allocations: 56.09 kB / 405.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.3638, allocations: 257.1 kB / 405.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.364, allocations: 140.4 kB / 405.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.3643, allocations: 260.6 kB / 406.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.3656, allocations: 0.9633 MB / 407.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3656, allocations: 1.375 kB / 407.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3656, allocations: 0 / 407.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3656, allocations: 0 / 407.1 MB, free: 2.523 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.003513/0.3691, allocations: 1.199 MB / 408.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3691, allocations: 14.08 kB / 408.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.3693, allocations: 120.8 kB / 408.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.3706, allocations: 209.3 kB / 408.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3708, allocations: 191.7 kB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.3708, allocations: 52.66 kB / 408.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.371, allocations: 72.28 kB / 408.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3725, allocations: 0.7983 MB / 409.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.3726, allocations: 6.031 kB / 409.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.3726, allocations: 30.62 kB / 409.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.3726, allocations: 18.75 kB / 409.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.3741, allocations: 0.6651 MB / 410.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.3783, allocations: 2.27 MB / 412.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.3803, allocations: 0.8091 MB / 413.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.3809, allocations: 286.1 kB / 413.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.11e-05/0.381, allocations: 22.14 kB / 413.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.381, allocations: 43.78 kB / 413.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/0.381, allocations: 0 / 413.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002774/0.3838, allocations: 0.9846 MB / 414.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.3839, allocations: 114.6 kB / 415 MB, free: 13.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.3843, allocations: 282 kB / 415.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.3844, allocations: 36.36 kB / 415.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.3847, allocations: 306.2 kB / 415.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.3849, allocations: 254.3 kB / 415.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.3852, allocations: 142.9 kB / 416 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.3854, allocations: 359 kB / 416.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.386, allocations: 225.8 kB / 416.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007727/0.3867, allocations: 414.2 kB / 416.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.3881, allocations: 0.64 MB / 417.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3881, allocations: 1.094 kB / 417.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001725/0.3899, allocations: 0.8213 MB / 418.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3899, allocations: 6.875 kB / 418.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3899, allocations: 4.125 kB / 418.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.3903, allocations: 126.5 kB / 418.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.391, allocations: 160.6 kB / 418.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.3948, allocations: 3.558 MB / 422.3 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.3954, allocations: 91.8 kB / 422.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.3954, allocations: 35.2 kB / 422.4 MB, free: 7.812 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.0003542/0.3958, allocations: 199.1 kB / 422.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3959, allocations: 39.8 kB / 422.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.3976, allocations: 0.7418 MB / 423.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.3976, allocations: 11.28 kB / 423.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3976, allocations: 3.625 kB / 423.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3976, allocations: 11.86 kB / 423.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.4003, allocations: 1.381 MB / 424.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4003, allocations: 0 / 424.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.4008, allocations: 115.9 kB / 424.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.4012, allocations: 105.6 kB / 425 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.4012, allocations: 24 kB / 425 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.4043, allocations: 3.115 MB / 428.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4043, allocations: 0 / 428.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.4064, allocations: 1.129 MB / 429.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4066, allocations: 55.58 kB / 429.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.4066, allocations: 16 kB / 429.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.407, allocations: 23.98 kB / 429.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4071, allocations: 56.55 kB / 429.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.4072, allocations: 23.98 kB / 429.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.4074, allocations: 185.2 kB / 429.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4074, allocations: 0 / 429.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009192/0.4083, allocations: 219.6 kB / 429.8 MB, free: 0.6953 MB / 334.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.002506/0.4108, allocations: 1.708 MB / 431.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.4127, allocations: 0.8489 MB / 432.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4127, allocations: 256 / 432.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.4136, allocations: 0.536 MB / 432.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.4142, allocations: 40.48 kB / 432.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/0.4217, allocations: 4.764 MB / 437.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.422, allocations: 269.5 kB / 438 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.4224, allocations: 80.36 kB / 438.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.4227, allocations: 199.4 kB / 438.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4227, allocations: 0 / 438.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3887/0.8114, allocations: 11.47 MB / 449.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.12, allocations: 8 kB / 449.7 MB, free: 12.39 MB / 366.1 MB " [Timeout remaining time 646] (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: 19.312921979930252]