Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9285/0.9285, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.826e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004094/0.004112, allocations: 4.573 MB / 323 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.006348, allocations: 1.957 MB / 325 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.006561, allocations: 16 kB / 325 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.008029, allocations: 1.375 MB / 326.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008318/0.008861, allocations: 0.5628 MB / 326.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.009827, allocations: 1.015 MB / 327.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006268/0.01045, allocations: 0.7739 MB / 328.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006003/0.01105, allocations: 0.5753 MB / 329.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.01142, allocations: 490.9 kB / 329.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.01168, allocations: 331.1 kB / 330.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.01174, allocations: 68 kB / 330.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.01218, allocations: 371.4 kB / 330.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.01226, allocations: 175.3 kB / 330.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.01241, allocations: 255.3 kB / 330.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009545/0.01336, allocations: 1.246 MB / 332.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01336, allocations: 8 kB / 332.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01337, allocations: 0 / 332.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.01338, allocations: 0 / 332.2 MB, free: 8.543 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002272/0.01565, allocations: 1.394 MB / 333.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.01569, allocations: 8.031 kB / 333.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.01579, allocations: 131.4 kB / 333.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.01696, allocations: 380.1 kB / 334.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.01712, allocations: 208.8 kB / 334.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.01717, allocations: 66.38 kB / 334.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/0.01726, allocations: 84.38 kB / 334.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.01829, allocations: 0.9053 MB / 335.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.01831, allocations: 7.875 kB / 335.4 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.01836, allocations: 36 kB / 335.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.01838, allocations: 20 kB / 335.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.01942, allocations: 0.7964 MB / 336.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.02191, allocations: 2.393 MB / 338.6 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.02253, allocations: 0.5241 MB / 339.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.02288, allocations: 218.2 kB / 339.3 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.02293, allocations: 20.5 kB / 339.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.02295, allocations: 39.06 kB / 339.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 1.572e-06/0.02295, allocations: 0 / 339.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003955/0.02691, allocations: 2.191 MB / 341.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.02695, allocations: 85.61 kB / 341.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.02717, allocations: 340.2 kB / 342 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.0272, allocations: 37.7 kB / 342 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.02733, allocations: 371.8 kB / 342.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.02743, allocations: 214.2 kB / 342.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02756, allocations: 150.5 kB / 342.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.02764, allocations: 346.8 kB / 343.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.02806, allocations: 273.8 kB / 343.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.02858, allocations: 0.5333 MB / 343.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/0.02955, allocations: 0.8127 MB / 344.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.02955, allocations: 3.938 kB / 344.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001159/0.03071, allocations: 0.905 MB / 345.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.03073, allocations: 8 kB / 345.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.03073, allocations: 12 kB / 345.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.03089, allocations: 73.64 kB / 345.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.03131, allocations: 207.7 kB / 345.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.03256, allocations: 2.661 MB / 348.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.03286, allocations: 68.03 kB / 348.6 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.03289, allocations: 35.98 kB / 348.7 MB, free: 7.258 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.03307, allocations: 217.5 kB / 348.9 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.03312, allocations: 43.72 kB / 348.9 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.03416, allocations: 0.7453 MB / 349.7 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.03417, allocations: 11.94 kB / 349.7 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.03417, allocations: 0 / 349.7 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.03417, allocations: 3.984 kB / 349.7 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.03568, allocations: 1.31 MB / 351 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.03568, allocations: 0 / 351 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.036, allocations: 135.8 kB / 351.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-05/0.03609, allocations: 61.67 kB / 351.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.03612, allocations: 15.98 kB / 351.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.03726, allocations: 2.63 MB / 353.8 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.03726, allocations: 12.05 kB / 353.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.03869, allocations: 1.085 MB / 354.9 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.03881, allocations: 91.61 kB / 355 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.03884, allocations: 16.06 kB / 355 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.03907, allocations: 47.94 kB / 355.1 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.03915, allocations: 48.41 kB / 355.1 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.03917, allocations: 19.98 kB / 355.2 MB, free: 452 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.03931, allocations: 219.1 kB / 355.4 MB, free: 232 kB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03931, allocations: 0 / 355.4 MB, free: 232 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.03972, allocations: 179.9 kB / 355.6 MB, free: 52 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_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 (58): * Single equations (assignments): 56 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/0.04151, allocations: 1.684 MB / 357.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.04272, allocations: 0.8924 MB / 358.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.04272, allocations: 0 / 358.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.04331, allocations: 0.5156 MB / 358.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.04372, allocations: 63.98 kB / 358.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/0.04981, allocations: 5.175 MB / 363.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.05001, allocations: 286.7 kB / 364.2 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.05026, allocations: 96.45 kB / 364.3 MB, free: 6.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.05049, allocations: 228.4 kB / 364.5 MB, free: 6.719 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05049, allocations: 4 kB / 364.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.07735, allocations: 12.32 MB / 376.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.428, allocations: 3.266 kB / 376.8 MB, free: 10.65 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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: 9.205067272298038]