Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001359/0.001359, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001513/0.001513, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.426/1.426, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1095, allocations: 53.32 MB / 426.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006666/0.1162, allocations: 5.104 MB / 431.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.1202, allocations: 2.191 MB / 434 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.1206, allocations: 16 kB / 434 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.1239, allocations: 1.403 MB / 435.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.1251, allocations: 421.4 kB / 435.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.1275, allocations: 1.236 MB / 437 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.1285, allocations: 0.7394 MB / 437.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008316/0.1293, allocations: 0.5011 MB / 438.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.1298, allocations: 338.8 kB / 438.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.1303, allocations: 434.3 kB / 439 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1304, allocations: 68 kB / 439.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008532/0.1312, allocations: 411.6 kB / 439.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1314, allocations: 163.4 kB / 439.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.1317, allocations: 390.1 kB / 440 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1333, allocations: 1.218 MB / 441.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1333, allocations: 0 / 441.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1333, allocations: 0 / 441.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1333, allocations: 0 / 441.3 MB, free: 6.316 MB / 366.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.004338/0.1376, allocations: 1.493 MB / 442.8 MB, free: 4.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1377, allocations: 8.031 kB / 442.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.1378, allocations: 131.4 kB / 442.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.1404, allocations: 364.1 kB / 443.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1406, allocations: 259.3 kB / 443.5 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.1407, allocations: 74.36 kB / 443.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1408, allocations: 88.06 kB / 443.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.1425, allocations: 0.8796 MB / 444.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.1425, allocations: 3.953 kB / 444.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.1426, allocations: 32 kB / 444.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1426, allocations: 20 kB / 444.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.1443, allocations: 0.7964 MB / 445.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2225/0.3669, allocations: 3.008 MB / 448.4 MB, free: 22.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.3687, allocations: 0.958 MB / 449.4 MB, free: 21.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/0.3695, allocations: 222.4 kB / 449.6 MB, free: 21.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.3697, allocations: 184.6 kB / 449.8 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3697, allocations: 37.75 kB / 449.8 MB, free: 21.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.927e-06/0.3697, allocations: 0 / 449.8 MB, free: 21.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.01177/0.3815, allocations: 2.398 MB / 452.2 MB, free: 21.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3815, allocations: 84.62 kB / 452.3 MB, free: 20.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.3821, allocations: 327.7 kB / 452.6 MB, free: 20.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.3822, allocations: 34.67 kB / 452.6 MB, free: 20.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.3824, allocations: 376.3 kB / 453 MB, free: 20.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.3827, allocations: 217.6 kB / 453.2 MB, free: 20.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.383, allocations: 143.2 kB / 453.3 MB, free: 20.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3831, allocations: 352.4 kB / 453.7 MB, free: 20.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3844, allocations: 269.1 kB / 454 MB, free: 20.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.3858, allocations: 0.5028 MB / 454.5 MB, free: 19.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.3885, allocations: 0.8075 MB / 455.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.3885, allocations: 10.09 kB / 455.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003542/0.3921, allocations: 0.8934 MB / 456.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.3921, allocations: 9.281 kB / 456.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.3921, allocations: 7.625 kB / 456.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/0.3925, allocations: 78.19 kB / 456.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.394, allocations: 194.9 kB / 456.5 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.3962, allocations: 2.867 MB / 459.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3974, allocations: 67.66 kB / 459.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.3975, allocations: 36.95 kB / 459.4 MB, free: 15.94 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.0004748/0.398, allocations: 215.1 kB / 459.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.3982, allocations: 40.08 kB / 459.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.4013, allocations: 0.733 MB / 460.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.4013, allocations: 6.625 kB / 460.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4013, allocations: 1.125 kB / 460.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.4013, allocations: 3.234 kB / 460.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00438/0.4057, allocations: 1.418 MB / 461.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4057, allocations: 4 kB / 461.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.4068, allocations: 128.4 kB / 462 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.4071, allocations: 65.58 kB / 462 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.4072, allocations: 18.08 kB / 462 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.4092, allocations: 2.847 MB / 464.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4092, allocations: 0.75 kB / 464.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/0.4131, allocations: 1.079 MB / 466 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.4134, allocations: 168 kB / 466.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4135, allocations: 12.84 kB / 466.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.4143, allocations: 47.2 kB / 466.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.4145, allocations: 51.64 kB / 466.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.4146, allocations: 19.75 kB / 466.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.4149, allocations: 220.7 kB / 466.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4149, allocations: 0 / 466.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001241/0.4162, allocations: 179.9 kB / 466.7 MB, free: 10.98 MB / 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.004418/0.4206, allocations: 1.675 MB / 468.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0031/0.4237, allocations: 0.8833 MB / 469.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4237, allocations: 0 / 469.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.4251, allocations: 0.5252 MB / 469.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.4259, allocations: 48.34 kB / 469.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.4373, allocations: 5.147 MB / 474.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.4378, allocations: 0.8824 MB / 475.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.4382, allocations: 86.47 kB / 475.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.4385, allocations: 225.8 kB / 476.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4385, allocations: 0 / 476.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6393/1.078, allocations: 11.55 MB / 487.7 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.29, allocations: 3.953 kB / 487.7 MB, free: 0.6289 MB / 366.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 19.71115721296519]