Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.002001/0.002001, 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.002415/0.002415, allocations: 213.1 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.88 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.007736/0.333, allocations: 5.097 MB / 436.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005042/0.3381, allocations: 2.191 MB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.3385, allocations: 16 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.3421, allocations: 1.419 MB / 439.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.3436, allocations: 421.4 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.3463, allocations: 1.221 MB / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3475, allocations: 0.7317 MB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009938/0.3485, allocations: 0.5763 MB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.349, allocations: 346.8 kB / 443.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.3496, allocations: 430.3 kB / 443.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.773e-05/0.3497, allocations: 68 kB / 443.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009961/0.3507, allocations: 407.6 kB / 444.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3509, allocations: 163.4 kB / 444.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.3513, allocations: 382.1 kB / 444.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.353, allocations: 1.202 MB / 445.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3531, allocations: 4 kB / 445.8 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3531, allocations: 0 / 445.8 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3531, allocations: 4 kB / 445.8 MB, free: 7.996 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004406/0.3575, allocations: 1.401 MB / 447.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3575, allocations: 16.03 kB / 447.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.3577, allocations: 127.4 kB / 447.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.3602, allocations: 372.1 kB / 447.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3605, allocations: 198.3 kB / 447.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.3605, allocations: 66.38 kB / 448 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.3607, allocations: 84.31 kB / 448.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.3624, allocations: 0.872 MB / 449 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.3625, allocations: 7.953 kB / 449 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.3626, allocations: 32 kB / 449 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.3626, allocations: 23.94 kB / 449 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.3644, allocations: 0.7847 MB / 449.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.3692, allocations: 2.79 MB / 452.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3703, allocations: 0.5006 MB / 453.1 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.3709, allocations: 218.2 kB / 453.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.371, allocations: 36.44 kB / 453.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.371, allocations: 39.06 kB / 453.4 MB, free: 192 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.144e-06/0.371, allocations: 0 / 453.4 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007198/0.3782, allocations: 2.163 MB / 455.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.3783, allocations: 85.61 kB / 455.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.3786, allocations: 304.4 kB / 455.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.3787, allocations: 33.7 kB / 456 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.379, allocations: 371.9 kB / 456.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.3791, allocations: 226.1 kB / 456.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3794, allocations: 146.5 kB / 456.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3796, allocations: 354.7 kB / 457 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/0.3803, allocations: 277.8 kB / 457.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009103/0.3812, allocations: 0.4965 MB / 457.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3829, allocations: 0.8165 MB / 458.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3829, allocations: 0 / 458.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002033/0.3849, allocations: 0.8972 MB / 459.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.385, allocations: 8 kB / 459.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.385, allocations: 11.94 kB / 459.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.3852, allocations: 69.61 kB / 459.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/0.386, allocations: 195.7 kB / 459.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.3882, allocations: 2.657 MB / 462.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.3888, allocations: 63.94 kB / 462.5 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.3889, allocations: 32 kB / 462.5 MB, free: 6.469 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003196/0.3892, allocations: 225.6 kB / 462.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.3893, allocations: 47.66 kB / 462.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.3912, allocations: 0.7181 MB / 463.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3912, allocations: 8 kB / 463.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3912, allocations: 0 / 463.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3912, allocations: 3.984 kB / 463.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.3939, allocations: 1.383 MB / 464.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3939, allocations: 0 / 464.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006818/0.3946, allocations: 131.8 kB / 465 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.3948, allocations: 57.67 kB / 465.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.3948, allocations: 15.94 kB / 465.1 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.3969, allocations: 2.642 MB / 467.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3969, allocations: 0 / 467.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.3994, allocations: 1.085 MB / 468.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.3996, allocations: 87.67 kB / 468.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.3996, allocations: 8.188 kB / 468.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.4001, allocations: 48.02 kB / 469 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4002, allocations: 60.33 kB / 469 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.4003, allocations: 19.98 kB / 469.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.4005, allocations: 215 kB / 469.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4005, allocations: 0 / 469.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.4012, allocations: 176 kB / 469.4 MB, free: 15.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002994/0.4042, allocations: 1.672 MB / 471.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.4062, allocations: 0.8687 MB / 472 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4062, allocations: 0 / 472 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.4071, allocations: 0.5278 MB / 472.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.4076, allocations: 48.52 kB / 472.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009508/0.4171, allocations: 5.09 MB / 477.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.4177, allocations: 0.8771 MB / 478.5 MB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004016/0.4181, allocations: 88.52 kB / 478.6 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.4185, allocations: 227.3 kB / 478.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4185, allocations: 0 / 478.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.4673, allocations: 11.88 MB / 490.7 MB, free: 9.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.31, allocations: 7.984 kB / 490.7 MB, free: 9.695 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable magFluxSensor.Phi.re in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! Error: Could not read variable magFluxSensor.Phi.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v.re in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.932068674999755]