Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 210.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.84 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3304, allocations: 53.41 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006543/0.337, allocations: 4.549 MB / 436.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.3409, allocations: 2.003 MB / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.3412, allocations: 16 kB / 438.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.3443, allocations: 1.302 MB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.3455, allocations: 417.4 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.348, allocations: 1.151 MB / 441.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3491, allocations: 0.7355 MB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009489/0.3501, allocations: 0.5674 MB / 442.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.3505, allocations: 346.8 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.351, allocations: 426.3 kB / 443.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3511, allocations: 68 kB / 443.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.352, allocations: 407.6 kB / 443.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3522, allocations: 163.4 kB / 444 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.3525, allocations: 306.5 kB / 444.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.354, allocations: 1.218 MB / 445.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.354, allocations: 0 / 445.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.354, allocations: 0 / 445.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.3541, allocations: 0 / 445.6 MB, free: 8.797 MB / 350.1 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.004367/0.3584, allocations: 1.408 MB / 447 MB, free: 7.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.3585, allocations: 8.031 kB / 447 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.404e-05/0.3585, allocations: 22.19 kB / 447 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.3587, allocations: 131.4 kB / 447.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.3613, allocations: 372.1 kB / 447.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.3616, allocations: 198.2 kB / 447.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.3617, allocations: 66.38 kB / 447.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.3618, allocations: 84.36 kB / 447.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.3636, allocations: 0.8969 MB / 448.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.3636, allocations: 7.953 kB / 448.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.3637, allocations: 36 kB / 448.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.3637, allocations: 20 kB / 448.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.3656, allocations: 0.7847 MB / 449.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.37, allocations: 2.41 MB / 452 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.3711, allocations: 0.5011 MB / 452.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.3716, allocations: 222.2 kB / 452.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-05/0.3717, allocations: 28.45 kB / 452.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3718, allocations: 39.06 kB / 452.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.545e-06/0.3718, allocations: 0 / 452.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007373/0.3791, allocations: 2.163 MB / 454.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.3792, allocations: 89.61 kB / 455 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.3796, allocations: 300.4 kB / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.3796, allocations: 33.7 kB / 455.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.3799, allocations: 375.8 kB / 455.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.3801, allocations: 222.1 kB / 455.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.3804, allocations: 146.6 kB / 456.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3806, allocations: 350.7 kB / 456.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007681/0.3813, allocations: 273.8 kB / 456.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009393/0.3823, allocations: 0.5222 MB / 457.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.384, allocations: 0.8127 MB / 458 MB, free: 11.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.384, allocations: 4 kB / 458 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002157/0.3862, allocations: 0.8932 MB / 458.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.3862, allocations: 15.94 kB / 458.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3862, allocations: 8 kB / 458.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.3865, allocations: 65.67 kB / 459 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000875/0.3874, allocations: 199.7 kB / 459.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.3896, allocations: 2.653 MB / 461.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.3903, allocations: 64.08 kB / 461.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.3904, allocations: 39.92 kB / 461.9 MB, free: 7.613 MB / 366.1 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.0003314/0.3907, allocations: 213.6 kB / 462.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3908, allocations: 47.66 kB / 462.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.3927, allocations: 0.7258 MB / 462.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3928, allocations: 7.938 kB / 462.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3928, allocations: 4 kB / 462.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3928, allocations: 3.938 kB / 462.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.3955, allocations: 1.302 MB / 464.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3955, allocations: 0 / 464.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/0.3961, allocations: 131.8 kB / 464.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.3963, allocations: 57.67 kB / 464.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.3964, allocations: 15.98 kB / 464.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.3985, allocations: 2.63 MB / 467.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3985, allocations: 4 kB / 467.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.4011, allocations: 1.082 MB / 468.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.4013, allocations: 91.73 kB / 468.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.4013, allocations: 8.188 kB / 468.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.4018, allocations: 43.95 kB / 468.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.402, allocations: 52.39 kB / 468.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.402, allocations: 19.98 kB / 468.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.4023, allocations: 207.1 kB / 468.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 468.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007559/0.403, allocations: 184 kB / 468.8 MB, free: 484 kB / 366.1 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.003055/0.4061, allocations: 1.672 MB / 470.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.4081, allocations: 0.8691 MB / 471.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4081, allocations: 0 / 471.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.4091, allocations: 0.5273 MB / 471.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.4096, allocations: 48.58 kB / 471.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/0.4185, allocations: 5.091 MB / 477 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4189, allocations: 286.6 kB / 477.2 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00038/0.4192, allocations: 84.52 kB / 477.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.4196, allocations: 231.3 kB / 477.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4196, allocations: 0 / 477.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.585/1.005, allocations: 12.07 MB / 489.6 MB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.51, allocations: 11.98 kB / 489.6 MB, free: 11.39 MB / 398.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.38835951394867]