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.001437/0.001437, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001645/0.001645, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.002726/0.002726, allocations: 59.91 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3172, allocations: 53.42 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.008009/0.3252, allocations: 4.584 MB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00491/0.3301, allocations: 2.02 MB / 437.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.3309, allocations: 16 kB / 437.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.3347, allocations: 1.299 MB / 439.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.3362, allocations: 416.7 kB / 439.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.3387, allocations: 1.14 MB / 440.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3398, allocations: 0.7394 MB / 441.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009574/0.3408, allocations: 0.5691 MB / 441.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.3413, allocations: 350.8 kB / 442.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.3418, allocations: 382.3 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3419, allocations: 68 kB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008699/0.3428, allocations: 387.6 kB / 443.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3429, allocations: 167.4 kB / 443.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.3432, allocations: 314.5 kB / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.3447, allocations: 1.218 MB / 444.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3447, allocations: 0 / 444.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3447, allocations: 0 / 444.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.3447, allocations: 4 kB / 444.8 MB, free: 8.762 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.004469/0.3492, allocations: 1.412 MB / 446.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.3492, allocations: 11.98 kB / 446.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.3494, allocations: 139.4 kB / 446.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.352, allocations: 364.1 kB / 446.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.3523, allocations: 201.6 kB / 446.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.3524, allocations: 66.38 kB / 447 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3526, allocations: 80.12 kB / 447 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.3544, allocations: 0.9008 MB / 447.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.3544, allocations: 3.953 kB / 448 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.3545, allocations: 39.94 kB / 448 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.3545, allocations: 20 kB / 448 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.3564, allocations: 0.7847 MB / 448.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005075/0.3614, allocations: 2.406 MB / 451.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3627, allocations: 0.5088 MB / 451.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.3632, allocations: 218.2 kB / 451.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.3633, allocations: 24.48 kB / 451.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.3634, allocations: 35.06 kB / 452 MB, free: 1.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.935e-06/0.3634, allocations: 4 kB / 452 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007746/0.3711, allocations: 2.175 MB / 454.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.3712, allocations: 85.61 kB / 454.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.3717, allocations: 328.3 kB / 454.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.3717, allocations: 37.7 kB / 454.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.3721, allocations: 371.9 kB / 455 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.3723, allocations: 226.1 kB / 455.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.3725, allocations: 150.6 kB / 455.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3727, allocations: 350.7 kB / 455.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.3735, allocations: 269.8 kB / 455.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.3745, allocations: 0.5294 MB / 456.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.3764, allocations: 0.8049 MB / 457.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.3764, allocations: 8 kB / 457.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002211/0.3786, allocations: 0.9046 MB / 458.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.3786, allocations: 11.94 kB / 458.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3786, allocations: 4 kB / 458.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.3789, allocations: 73.95 kB / 458.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/0.3798, allocations: 195.7 kB / 458.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.3822, allocations: 2.661 MB / 461.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.3829, allocations: 55.95 kB / 461.2 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.383, allocations: 39.98 kB / 461.2 MB, free: 7.543 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.0003977/0.3833, allocations: 213.7 kB / 461.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3835, allocations: 47.66 kB / 461.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.3855, allocations: 0.7297 MB / 462.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3855, allocations: 4 kB / 462.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3855, allocations: 0 / 462.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.3855, allocations: 7.922 kB / 462.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.3883, allocations: 1.306 MB / 463.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3883, allocations: 0 / 463.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.3889, allocations: 131.8 kB / 463.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.3891, allocations: 61.67 kB / 463.7 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.3892, allocations: 12 kB / 463.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.3914, allocations: 2.638 MB / 466.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3914, allocations: 3.938 kB / 466.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.394, allocations: 1.086 MB / 467.4 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.3943, allocations: 79.72 kB / 467.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.3944, allocations: 12 kB / 467.5 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.3948, allocations: 48.02 kB / 467.6 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.395, allocations: 48.41 kB / 467.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.395, allocations: 19.98 kB / 467.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003045/0.3953, allocations: 219.1 kB / 467.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3953, allocations: 0 / 467.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008379/0.3962, allocations: 179.9 kB / 468 MB, free: 396 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.003507/0.3997, allocations: 1.68 MB / 469.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.4021, allocations: 0.8846 MB / 470.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4021, allocations: 0 / 470.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.4032, allocations: 0.5117 MB / 471.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.4038, allocations: 61.06 kB / 471.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.4145, allocations: 5.146 MB / 476.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.415, allocations: 282.7 kB / 476.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004646/0.4154, allocations: 88.5 kB / 476.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.4159, allocations: 231.3 kB / 476.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of SimCode: time 3.196e-06/0.4159, allocations: 0 / 476.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05354/0.4694, allocations: 12.35 MB / 489.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.26, allocations: 8 kB / 489.3 MB, free: 10.95 MB / 398.1 MB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.97472964692861]