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.0008488/0.0008488, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008515/0.0008515, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8883/0.8883, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.007e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005144/0.005164, allocations: 5.847 MB / 330.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.008137, allocations: 2.479 MB / 332.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.008445, allocations: 23.94 kB / 332.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.009871, allocations: 1.243 MB / 334.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009064/0.01078, allocations: 0.5393 MB / 334.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.01203, allocations: 1.198 MB / 335.8 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.01306, allocations: 1.121 MB / 337 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009009/0.01396, allocations: 0.77 MB / 337.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.01451, allocations: 0.6508 MB / 338.4 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.01489, allocations: 418.8 kB / 338.8 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.01513, allocations: 104 kB / 338.9 MB, free: 1.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.01566, allocations: 399.4 kB / 339.3 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01579, allocations: 239.1 kB / 339.5 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.01602, allocations: 363 kB / 339.9 MB, free: 444 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.0171, allocations: 1.569 MB / 341.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.0171, allocations: 0 / 341.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.0171, allocations: 0 / 341.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.01711, allocations: 3.938 kB / 341.4 MB, free: 14.86 MB / 314.7 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.002682/0.01979, allocations: 1.685 MB / 343.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.01983, allocations: 11.98 kB / 343.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.02002, allocations: 175.4 kB / 343.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.02157, allocations: 475.8 kB / 343.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.02207, allocations: 444.7 kB / 344.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.02212, allocations: 86.55 kB / 344.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.02223, allocations: 119.9 kB / 344.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.02336, allocations: 1.025 MB / 345.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.02339, allocations: 0 / 345.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.02345, allocations: 52 kB / 345.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.02347, allocations: 24 kB / 345.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.02463, allocations: 0.9536 MB / 346.5 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.02836, allocations: 3.097 MB / 349.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.02936, allocations: 0.8135 MB / 350.4 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.02987, allocations: 388.3 kB / 350.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.02994, allocations: 28.97 kB / 350.8 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.0305, allocations: 0.5135 MB / 351.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.484e-06/0.0305, allocations: 0 / 351.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.00522/0.03572, allocations: 3.695 MB / 355 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.03579, allocations: 149.5 kB / 355.1 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.03614, allocations: 413.4 kB / 355.5 MB, free: 364 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.03619, allocations: 53.7 kB / 355.6 MB, free: 304 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.03639, allocations: 441.1 kB / 356 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.03659, allocations: 432.2 kB / 356.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.03679, allocations: 202.9 kB / 356.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.03689, allocations: 378.8 kB / 357 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.03736, allocations: 346.5 kB / 357.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.0379, allocations: 0.5892 MB / 357.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.0389, allocations: 0.9349 MB / 358.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.0389, allocations: 0 / 358.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001551/0.04045, allocations: 1.366 MB / 360.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.04047, allocations: 10.91 kB / 360.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.04048, allocations: 4 kB / 360.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/0.041, allocations: 354.4 kB / 360.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.04144, allocations: 207.6 kB / 360.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.04618, allocations: 7.973 MB / 368.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.04649, allocations: 43.98 kB / 368.8 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.04654, allocations: 43.98 kB / 368.9 MB, free: 2.391 MB / 330.7 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.0002661/0.0468, allocations: 265.5 kB / 369.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.04688, allocations: 75.53 kB / 369.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.04842, allocations: 1.278 MB / 370.5 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.04843, allocations: 12 kB / 370.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.04844, allocations: 8 kB / 370.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.04845, allocations: 7.969 kB / 370.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.05097, allocations: 2.349 MB / 372.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.05097, allocations: 3.938 kB / 372.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.05132, allocations: 155.8 kB / 373 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.05178, allocations: 345.3 kB / 373.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.05183, allocations: 27.94 kB / 373.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004426/0.05625, allocations: 7.611 MB / 381 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.05626, allocations: 7.969 kB / 381 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.05822, allocations: 1.802 MB / 382.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.05842, allocations: 147.5 kB / 382.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.05847, allocations: 31.98 kB / 383 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.05871, allocations: 35.98 kB / 383 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.05886, allocations: 108.7 kB / 383.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.0589, allocations: 32 kB / 383.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.0591, allocations: 279.2 kB / 383.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0591, allocations: 0 / 383.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007567/0.05986, allocations: 323.9 kB / 383.7 MB, free: 2.906 MB / 346.7 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.00226/0.06212, allocations: 2.419 MB / 386.2 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.0637, allocations: 1.549 MB / 387.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.0637, allocations: 1.062 kB / 387.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008946/0.0646, allocations: 1.095 MB / 388.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.06496, allocations: 87.92 kB / 388.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.07298, allocations: 7.263 MB / 396.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.07333, allocations: 440.1 kB / 396.6 MB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.07362, allocations: 102.2 kB / 396.7 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.07392, allocations: 356.4 kB / 397 MB, free: 5.152 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.07393, allocations: 0 / 397 MB, free: 5.152 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.1147, allocations: 19.98 MB / 417 MB, free: 1.348 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.791, allocations: 3.984 kB / 417 MB, free: 1.344 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/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: 9.592225274071097]