Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.00192/0.00192, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002439/0.002439, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.539/1.539, allocations: 230.4 MB / 254 MB, free: 15.01 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.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1159, allocations: 53.38 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2399/0.3558, allocations: 6.53 MB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006058/0.3619, allocations: 2.642 MB / 435.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.363, allocations: 22.69 kB / 435.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.3662, allocations: 1.282 MB / 436.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.3684, allocations: 0.537 MB / 437.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.371, allocations: 1.261 MB / 438.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.3729, allocations: 1.077 MB / 439.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.3744, allocations: 0.7035 MB / 440.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009367/0.3753, allocations: 457.6 kB / 440.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009415/0.3762, allocations: 0.5427 MB / 441.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.3765, allocations: 96.78 kB / 441.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.3781, allocations: 421.5 kB / 441.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.3783, allocations: 233.3 kB / 442.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.379, allocations: 0.5228 MB / 442.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.3818, allocations: 1.526 MB / 444.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3818, allocations: 1.062 kB / 444.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3818, allocations: 4 kB / 444.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.3819, allocations: 0 / 444.2 MB, free: 2.738 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005039/0.3869, allocations: 1.67 MB / 445.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.3869, allocations: 13.31 kB / 445.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002741/0.3872, allocations: 175.6 kB / 446 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/0.3908, allocations: 477.1 kB / 446.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3919, allocations: 0.4972 MB / 447 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/0.392, allocations: 88.25 kB / 447.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.3922, allocations: 113.5 kB / 447.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3943, allocations: 0.9755 MB / 448.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.3944, allocations: 1.125 kB / 448.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.3945, allocations: 46.06 kB / 448.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.3945, allocations: 27.22 kB / 448.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.3966, allocations: 0.962 MB / 449.2 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007528/0.4041, allocations: 3.77 MB / 453 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.4064, allocations: 1.484 MB / 454.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.4072, allocations: 394.5 kB / 454.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.4075, allocations: 186.3 kB / 455 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009655/0.4084, allocations: 479.6 kB / 455.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.535e-06/0.4084, allocations: 0 / 455.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01098/0.4194, allocations: 4.005 MB / 459.5 MB, free: 9.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.4196, allocations: 142.6 kB / 459.6 MB, free: 9.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.4203, allocations: 406.8 kB / 460 MB, free: 9.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.4204, allocations: 47.05 kB / 460.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.4209, allocations: 433.2 kB / 460.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.4213, allocations: 449.5 kB / 461 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.4217, allocations: 209.5 kB / 461.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.422, allocations: 378.8 kB / 461.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.4228, allocations: 349.4 kB / 461.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/0.4238, allocations: 0.5436 MB / 462.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.4256, allocations: 0.9442 MB / 463.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4256, allocations: 1.156 kB / 463.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003102/0.4287, allocations: 1.373 MB / 464.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.4287, allocations: 6.719 kB / 464.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.4287, allocations: 9.844 kB / 464.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.4298, allocations: 354.7 kB / 465.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.4308, allocations: 200.5 kB / 465.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.441, allocations: 8.496 MB / 473.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/0.4419, allocations: 47.7 kB / 473.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.442, allocations: 53.36 kB / 473.9 MB, free: 14.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000577/0.4426, allocations: 259.4 kB / 474.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4428, allocations: 78.97 kB / 474.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.4456, allocations: 1.287 MB / 475.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.4456, allocations: 12.72 kB / 475.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.4456, allocations: 6.406 kB / 475.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.4456, allocations: 9.125 kB / 475.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.4506, allocations: 2.516 MB / 478 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4506, allocations: 3.938 kB / 478 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.4513, allocations: 159.7 kB / 478.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008959/0.4522, allocations: 326.9 kB / 478.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.4523, allocations: 27.98 kB / 478.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009176/0.4615, allocations: 8.12 MB / 486.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4615, allocations: 0 / 486.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.4653, allocations: 1.806 MB / 488.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.4658, allocations: 228.5 kB / 488.7 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4659, allocations: 27.98 kB / 488.7 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.4664, allocations: 40.05 kB / 488.8 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.4667, allocations: 96.81 kB / 488.9 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.4668, allocations: 39.98 kB / 488.9 MB, free: 132 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004121/0.4672, allocations: 275.2 kB / 489.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4672, allocations: 0 / 489.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001514/0.4687, allocations: 324 kB / 489.5 MB, free: 15.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004082/0.4728, allocations: 2.421 MB / 491.9 MB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.4759, allocations: 1.566 MB / 493.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4759, allocations: 0 / 493.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.4778, allocations: 1.103 MB / 494.6 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.4785, allocations: 83.03 kB / 494.7 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.4921, allocations: 7.323 MB / 0.4902 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/0.493, allocations: 1.024 MB / 0.4912 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.4935, allocations: 98.16 kB / 0.4913 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.4941, allocations: 356 kB / 0.4916 GB, free: 1.117 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4941, allocations: 3.938 kB / 0.4917 GB, free: 1.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06333/0.5574, allocations: 18.73 MB / 0.5099 GB, free: 14.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/18.52, allocations: 15.94 kB / 0.51 GB, free: 14.53 MB / 430.1 MB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable coil.i in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable coil.i from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable rootMeanSquare.mean.x in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable rootMeanSquare.mean.x from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! Error: Could not read variable sourceQS.pin_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv. Warning: Get data of variable sourceQS.pin_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.28706637606956]