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.001355/0.001355, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001429/0.001429, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.002107/0.002107, allocations: 71.89 kB / 377.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2732, allocations: 53.4 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008299/0.2815, allocations: 5.846 MB / 437 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004859/0.2864, allocations: 2.453 MB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.2869, allocations: 27.88 kB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.2899, allocations: 1.19 MB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.2915, allocations: 0.524 MB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.294, allocations: 1.183 MB / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.2953, allocations: 1.071 MB / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.2965, allocations: 0.7778 MB / 444.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006293/0.2971, allocations: 458.4 kB / 444.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007128/0.2978, allocations: 493.6 kB / 445.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.298, allocations: 100 kB / 445.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008612/0.2989, allocations: 395.7 kB / 445.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.2991, allocations: 235.1 kB / 445.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004551/0.2995, allocations: 430 kB / 446.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.3015, allocations: 1.541 MB / 447.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3015, allocations: 0 / 447.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3015, allocations: 0 / 447.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.3015, allocations: 4 kB / 447.8 MB, free: 5.664 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.004616/0.3061, allocations: 1.688 MB / 449.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3062, allocations: 11.98 kB / 449.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.3064, allocations: 171.4 kB / 449.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.3095, allocations: 475.8 kB / 450.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008247/0.3103, allocations: 456.9 kB / 450.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.991e-05/0.3104, allocations: 86.23 kB / 450.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3106, allocations: 116 kB / 450.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.3126, allocations: 1.021 MB / 451.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.3126, allocations: 7.969 kB / 451.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3127, allocations: 48 kB / 451.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.3127, allocations: 28 kB / 451.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.3147, allocations: 0.9496 MB / 452.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006234/0.3209, allocations: 3.083 MB / 455.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3227, allocations: 0.8095 MB / 456.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008887/0.3236, allocations: 399 kB / 457.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.3238, allocations: 28.98 kB / 457.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.325, allocations: 0.5213 MB / 457.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.387e-06/0.325, allocations: 0 / 457.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009905/0.3349, allocations: 3.707 MB / 461.4 MB, free: 7.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.335, allocations: 141.5 kB / 461.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.3355, allocations: 417.4 kB / 461.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.3356, allocations: 49.7 kB / 462 MB, free: 7.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.336, allocations: 433 kB / 462.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000388/0.3363, allocations: 448.1 kB / 462.8 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.3367, allocations: 202.9 kB / 463 MB, free: 6.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.3369, allocations: 382.8 kB / 463.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.3376, allocations: 342.5 kB / 463.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.3386, allocations: 0.5892 MB / 464.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.3402, allocations: 0.9226 MB / 465.3 MB, free: 3.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3403, allocations: 4 kB / 465.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002693/0.3429, allocations: 1.374 MB / 466.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.343, allocations: 8 kB / 466.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.343, allocations: 7.938 kB / 466.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009012/0.3439, allocations: 351.1 kB / 467 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.3447, allocations: 199.7 kB / 467.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008729/0.3535, allocations: 7.989 MB / 475.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.3542, allocations: 43.98 kB / 475.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.3543, allocations: 52.05 kB / 475.3 MB, free: 9.18 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.0005052/0.3548, allocations: 265.7 kB / 475.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.355, allocations: 83.52 kB / 475.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.3577, allocations: 1.278 MB / 476.9 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3577, allocations: 16 kB / 476.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3577, allocations: 4 kB / 476.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.3577, allocations: 7.984 kB / 476.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/0.362, allocations: 2.341 MB / 479.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.3621, allocations: 7.938 kB / 479.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.3627, allocations: 147.8 kB / 479.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/0.3635, allocations: 333.9 kB / 479.7 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.3636, allocations: 27.98 kB / 479.8 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008213/0.3718, allocations: 7.635 MB / 487.4 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3718, allocations: 0 / 487.4 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/0.3753, allocations: 1.806 MB / 489.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.3757, allocations: 147.5 kB / 489.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.3758, allocations: 24 kB / 489.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/0.3763, allocations: 39.98 kB / 489.4 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/0.3765, allocations: 104.7 kB / 489.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.3766, allocations: 39.98 kB / 489.6 MB, free: 10.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000338/0.3769, allocations: 279.1 kB / 489.8 MB, free: 10.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3769, allocations: 0 / 489.8 MB, free: 10.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001144/0.378, allocations: 319.9 kB / 490.1 MB, free: 9.695 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,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.003917/0.382, allocations: 2.415 MB / 492.6 MB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.3848, allocations: 1.561 MB / 494.1 MB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3848, allocations: 0 / 494.1 MB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.3866, allocations: 1.095 MB / 495.2 MB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.3872, allocations: 73.58 kB / 495.3 MB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.3994, allocations: 7.333 MB / 0.4908 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.4, allocations: 436.1 kB / 0.4913 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005/0.4005, allocations: 102.2 kB / 0.4914 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.401, allocations: 347.3 kB / 0.4917 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.401, allocations: 0 / 0.4917 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07109/0.4721, allocations: 19.83 MB / 0.5111 GB, free: 8.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.95, allocations: 15.64 kB / 0.5111 GB, free: 8.219 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.620116868056357]