Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001821/0.001821, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 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.002396/0.002396, allocations: 214.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.92 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2906, allocations: 53.36 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006921/0.2976, allocations: 5.133 MB / 436.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.3016, allocations: 2.195 MB / 438.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.3019, allocations: 16 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.3051, allocations: 1.411 MB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.3061, allocations: 425.4 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.3084, allocations: 1.225 MB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009786/0.3094, allocations: 0.751 MB / 442.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.3103, allocations: 0.5685 MB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000515/0.3108, allocations: 350.8 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.3114, allocations: 430.3 kB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3115, allocations: 71.94 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009089/0.3124, allocations: 415.6 kB / 444.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3125, allocations: 163.4 kB / 444.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.3129, allocations: 382.1 kB / 444.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.3145, allocations: 1.224 MB / 445.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3145, allocations: 4 kB / 445.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3145, allocations: 0 / 445.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3145, allocations: 4 kB / 445.9 MB, free: 8.066 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.004291/0.3188, allocations: 1.413 MB / 447.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3188, allocations: 8.031 kB / 447.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.319, allocations: 131.4 kB / 447.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.3215, allocations: 360.1 kB / 447.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3217, allocations: 201.6 kB / 448 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.3218, allocations: 66.38 kB / 448 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3219, allocations: 84.12 kB / 448.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.3235, allocations: 0.8758 MB / 449 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.3236, allocations: 7.891 kB / 449 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.3236, allocations: 32 kB / 449 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3236, allocations: 20 kB / 449.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3254, allocations: 0.8003 MB / 449.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.3298, allocations: 2.779 MB / 452.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3308, allocations: 0.5113 MB / 453.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.3313, allocations: 218.3 kB / 453.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.3314, allocations: 32.45 kB / 453.4 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.3314, allocations: 35.06 kB / 453.4 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.123e-06/0.3314, allocations: 0 / 453.4 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007012/0.3385, allocations: 2.171 MB / 455.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.3385, allocations: 81.61 kB / 455.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.3389, allocations: 320.4 kB / 456 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.3389, allocations: 41.7 kB / 456 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.3392, allocations: 367.9 kB / 456.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.3394, allocations: 230 kB / 456.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.3396, allocations: 142.6 kB / 456.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3398, allocations: 350.7 kB / 457.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007656/0.3405, allocations: 273.8 kB / 457.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009225/0.3415, allocations: 0.5004 MB / 457.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.3431, allocations: 0.8127 MB / 458.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3431, allocations: 0 / 458.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00203/0.3452, allocations: 0.8972 MB / 459.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.3452, allocations: 15.92 kB / 459.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3452, allocations: 8 kB / 459.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.3455, allocations: 73.67 kB / 459.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.3463, allocations: 191.7 kB / 459.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.3485, allocations: 2.661 MB / 462.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.3492, allocations: 60.14 kB / 462.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.3493, allocations: 40.05 kB / 462.6 MB, free: 6.508 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.000371/0.3496, allocations: 217.5 kB / 462.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3497, allocations: 51.64 kB / 462.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.3516, allocations: 0.718 MB / 463.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3516, allocations: 8 kB / 463.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3516, allocations: 11.94 kB / 463.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3516, allocations: 7.922 kB / 463.6 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.3544, allocations: 1.38 MB / 465 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3544, allocations: 0 / 465 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.355, allocations: 135.8 kB / 465.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.3552, allocations: 65.66 kB / 465.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.3552, allocations: 15.98 kB / 465.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.3573, allocations: 2.646 MB / 467.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3573, allocations: 11.91 kB / 467.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.3598, allocations: 1.074 MB / 468.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.36, allocations: 95.73 kB / 469 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.36, allocations: 8 kB / 469 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.3605, allocations: 43.95 kB / 469.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3606, allocations: 44.41 kB / 469.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3607, allocations: 19.98 kB / 469.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.3609, allocations: 223.1 kB / 469.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.361, allocations: 4 kB / 469.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.3617, allocations: 176 kB / 469.5 MB, free: 15.24 MB / 382.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.002992/0.3647, allocations: 1.68 MB / 471.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.3667, allocations: 0.873 MB / 472.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3667, allocations: 64 / 472.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000965/0.3677, allocations: 0.5195 MB / 472.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.3682, allocations: 57.02 kB / 472.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/0.3773, allocations: 5.145 MB / 477.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.3778, allocations: 0.881 MB / 478.7 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003562/0.3782, allocations: 92.5 kB / 478.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.3785, allocations: 227.3 kB / 479 MB, free: 5.375 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3785, allocations: 0 / 479 MB, free: 5.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/0.4308, allocations: 12.04 MB / 491 MB, free: 9.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.43, allocations: 11.98 kB / 491.1 MB, free: 9.504 MB / 398.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 17.90026958589442]