Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001345/0.001345, allocations: 110 kB / 20.43 MB, free: 1.453 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.001511/0.001511, allocations: 212.6 kB / 23.74 MB, free: 4.66 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.88 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3046, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004483/0.3091, allocations: 2.803 MB / 434 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3109, allocations: 0.9617 MB / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.311, allocations: 4 kB / 435 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3113, allocations: 67.44 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.3116, allocations: 103.2 kB / 435.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3119, allocations: 115.8 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.3123, allocations: 350.6 kB / 435.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.3125, allocations: 85.91 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.3127, allocations: 143.5 kB / 435.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3129, allocations: 155.3 kB / 436 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.313, allocations: 28 kB / 436 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.3131, allocations: 32 kB / 436 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.3131, allocations: 75.69 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3133, allocations: 155.2 kB / 436.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.3138, allocations: 374.9 kB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3138, allocations: 0 / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3138, allocations: 0 / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3138, allocations: 0 / 436.6 MB, free: 1.219 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.001049/0.3148, allocations: 0.5403 MB / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.3149, allocations: 12.03 kB / 437.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.065e-05/0.315, allocations: 66.72 kB / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3151, allocations: 36.75 kB / 437.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.3155, allocations: 214.8 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.3156, allocations: 25.03 kB / 437.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.3156, allocations: 28.38 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.3161, allocations: 258.1 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3161, allocations: 0 / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3162, allocations: 8 kB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.3162, allocations: 8 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.3166, allocations: 206.5 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.3183, allocations: 0.9752 MB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.3188, allocations: 194.5 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.319, allocations: 103.9 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.319, allocations: 4 kB / 439.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3191, allocations: 34.56 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.3191, allocations: 0 / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005276/0.3243, allocations: 1.396 MB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3244, allocations: 59.41 kB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3247, allocations: 236.9 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3247, allocations: 29.7 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3249, allocations: 188.5 kB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.325, allocations: 130.9 kB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3251, allocations: 62.08 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3252, allocations: 334.8 kB / 441.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.3255, allocations: 108.7 kB / 441.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.3258, allocations: 165.5 kB / 442 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.3263, allocations: 283.6 kB / 442.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3263, allocations: 0 / 442.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001644/0.328, allocations: 0.5334 MB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.328, allocations: 4 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.328, allocations: 0 / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.3293, allocations: 253.4 kB / 443 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.3296, allocations: 55.95 kB / 443.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.3348, allocations: 3.93 MB / 447 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.3351, allocations: 11.98 kB / 447 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.3351, allocations: 12 kB / 447 MB, free: 6.242 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.000209/0.3353, allocations: 153.7 kB / 447.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.3354, allocations: 23.86 kB / 447.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3355, allocations: 46.89 kB / 447.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3355, allocations: 8.062 kB / 447.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3355, allocations: 4 kB / 447.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3355, allocations: 3.984 kB / 447.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.3378, allocations: 0.953 MB / 448.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3378, allocations: 0 / 448.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.338, allocations: 39.97 kB / 448.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.3392, allocations: 245.4 kB / 448.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3392, allocations: 11.98 kB / 448.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004921/0.3442, allocations: 3.907 MB / 452.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3442, allocations: 4.062 kB / 452.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.3461, allocations: 0.7245 MB / 453.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.3462, allocations: 19.89 kB / 453.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.3462, allocations: 15.94 kB / 453.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3464, allocations: 20.05 kB / 453.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.3465, allocations: 31.92 kB / 453.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.3466, allocations: 8 kB / 453.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.3467, allocations: 168.8 kB / 453.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3467, allocations: 0 / 453.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006164/0.3474, allocations: 100 kB / 453.5 MB, free: 15.44 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.002253/0.3496, allocations: 1.281 MB / 454.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3507, allocations: 0.5557 MB / 455.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3507, allocations: 0 / 455.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.3514, allocations: 421.5 kB / 455.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3517, allocations: 20.44 kB / 455.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/0.3582, allocations: 3.366 MB / 459.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.3587, allocations: 0.7801 MB / 459.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.3588, allocations: 18.28 kB / 459.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3589, allocations: 103.4 kB / 460 MB, free: 8.656 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3589, allocations: 0 / 460 MB, free: 8.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04885/0.4078, allocations: 8.835 MB / 468.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.28, allocations: 8.953 kB / 468.9 MB, free: 15.94 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.mu_r in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.mu_r from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.B in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.B from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.H in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.H from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.09451364599954]