Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001635/0.001635, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001948/0.001948, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 47.91 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.295, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004463/0.2995, allocations: 2.821 MB / 433.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3013, allocations: 0.954 MB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.3014, allocations: 7.938 kB / 434.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3017, allocations: 67.48 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.302, allocations: 103.2 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.3024, allocations: 115.7 kB / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.3028, allocations: 354.6 kB / 435.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.303, allocations: 77.97 kB / 435.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.3032, allocations: 147.4 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.3035, allocations: 155.3 kB / 435.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.3035, allocations: 32 kB / 435.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.3036, allocations: 32 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.3036, allocations: 71.75 kB / 436 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3038, allocations: 155.2 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.3043, allocations: 370.9 kB / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3043, allocations: 0 / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3043, allocations: 0 / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3043, allocations: 0 / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001055/0.3054, allocations: 0.548 MB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3054, allocations: 8.031 kB / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.783e-05/0.3055, allocations: 58.73 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.3057, allocations: 44.73 kB / 437.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.3061, allocations: 214.9 kB / 437.4 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3061, allocations: 21.03 kB / 437.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.3062, allocations: 28.38 kB / 437.5 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.3066, allocations: 258.1 kB / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3066, allocations: 0 / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.3067, allocations: 12 kB / 437.7 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3067, allocations: 4 kB / 437.7 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.3071, allocations: 214.5 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3087, allocations: 0.9635 MB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.3092, allocations: 194.5 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.3094, allocations: 98.44 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.3094, allocations: 4 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3095, allocations: 38.56 kB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.3095, allocations: 0 / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005267/0.3147, allocations: 1.4 MB / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3148, allocations: 51.41 kB / 440.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.3151, allocations: 236.9 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.3151, allocations: 33.7 kB / 441 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3153, allocations: 192.5 kB / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3154, allocations: 118.9 kB / 441.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3155, allocations: 70 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3156, allocations: 338.8 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.3159, allocations: 108.7 kB / 441.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.3162, allocations: 161.5 kB / 441.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.3167, allocations: 283.6 kB / 442.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3167, allocations: 0 / 442.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001633/0.3183, allocations: 0.5334 MB / 442.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3184, allocations: 4 kB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3184, allocations: 4 kB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.3197, allocations: 241.5 kB / 443 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.32, allocations: 59.91 kB / 443 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/0.3253, allocations: 3.945 MB / 447 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3256, allocations: 12.02 kB / 447 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3257, allocations: 12 kB / 447 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.3259, allocations: 153.7 kB / 447.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.3259, allocations: 27.8 kB / 447.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.895e-05/0.326, allocations: 47.02 kB / 447.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.326, allocations: 4 kB / 447.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.326, allocations: 0 / 447.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.326, allocations: 0 / 447.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.3283, allocations: 0.9572 MB / 448.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3283, allocations: 0 / 448.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.3285, allocations: 47.97 kB / 448.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.3297, allocations: 237.4 kB / 448.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.3297, allocations: 8 kB / 448.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.3347, allocations: 3.927 MB / 452.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3347, allocations: 0 / 452.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.3366, allocations: 0.713 MB / 453.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.3366, allocations: 27.89 kB / 453.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.3367, allocations: 11.94 kB / 453.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.3369, allocations: 12 kB / 453.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.337, allocations: 31.88 kB / 453.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.337, allocations: 15.98 kB / 453.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3372, allocations: 168.8 kB / 453.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3372, allocations: 0 / 453.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000625/0.3378, allocations: 104 kB / 453.5 MB, free: 15.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002192/0.34, allocations: 1.278 MB / 454.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.3411, allocations: 0.5517 MB / 455.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3411, allocations: 0 / 455.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006914/0.3418, allocations: 421.4 kB / 455.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3421, allocations: 27.36 kB / 455.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006342/0.3485, allocations: 3.363 MB / 459.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.3489, allocations: 0.784 MB / 459.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.349, allocations: 22.28 kB / 459.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3492, allocations: 95.41 kB / 460 MB, free: 8.859 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3492, allocations: 0 / 460 MB, free: 8.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06135/0.4105, allocations: 8.842 MB / 468.8 MB, free: 172 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.08, allocations: 1.422 kB / 468.8 MB, free: 172 kB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable coil.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.mu_r in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.mu_r from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.B in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.B from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.H in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.H from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.857039307000377]