Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001831/0.001831, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002141/0.002141, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 64.05 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.263, allocations: 53.41 MB / 431.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008338/0.2714, allocations: 5.945 MB / 437.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.2762, allocations: 2.32 MB / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.2768, allocations: 27.94 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.2812, allocations: 1.745 MB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.283, allocations: 0.5356 MB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.2858, allocations: 1.264 MB / 443 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.2873, allocations: 1.113 MB / 444.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.2887, allocations: 0.819 MB / 444.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000733/0.2894, allocations: 498.1 kB / 445.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.2901, allocations: 0.5522 MB / 446 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2903, allocations: 100 kB / 446.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009815/0.2913, allocations: 419.7 kB / 446.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.2915, allocations: 247.1 kB / 446.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.292, allocations: 461.8 kB / 447.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.2942, allocations: 1.677 MB / 448.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.2942, allocations: 4 kB / 448.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2942, allocations: 4 kB / 448.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.2943, allocations: 0 / 448.8 MB, free: 4.84 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006687/0.3009, allocations: 1.976 MB / 450.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.301, allocations: 15.98 kB / 450.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.3012, allocations: 186.4 kB / 451 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.3048, allocations: 495.8 kB / 451.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.3052, allocations: 256.8 kB / 451.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.3053, allocations: 102.9 kB / 451.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.3055, allocations: 128.3 kB / 452 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.3081, allocations: 1.324 MB / 453.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.3082, allocations: 8 kB / 453.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.3083, allocations: 51.98 kB / 453.4 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.3083, allocations: 36 kB / 453.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.3109, allocations: 1.177 MB / 454.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00685/0.3178, allocations: 3.492 MB / 458.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.3199, allocations: 1.133 MB / 459.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.3209, allocations: 460 kB / 459.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.321, allocations: 36.97 kB / 459.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.321, allocations: 43.56 kB / 459.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.686e-06/0.321, allocations: 4 kB / 459.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01052/0.3316, allocations: 3.545 MB / 463.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.3316, allocations: 94.11 kB / 463.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.3321, allocations: 413.3 kB / 463.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.3322, allocations: 45.7 kB / 463.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.3326, allocations: 468.6 kB / 464.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.3329, allocations: 440.2 kB / 464.7 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/0.3333, allocations: 235.5 kB / 464.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3335, allocations: 366.8 kB / 465.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.3345, allocations: 435.8 kB / 465.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.3358, allocations: 0.7169 MB / 466.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.3382, allocations: 1.179 MB / 467.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3383, allocations: 3.938 kB / 467.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003182/0.3414, allocations: 1.459 MB / 469.1 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3415, allocations: 8 kB / 469.1 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3415, allocations: 8 kB / 469.1 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.342, allocations: 201.6 kB / 469.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3432, allocations: 287.6 kB / 469.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.3479, allocations: 4.125 MB / 473.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/0.3488, allocations: 75.89 kB / 473.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/0.3489, allocations: 55.98 kB / 473.8 MB, free: 11.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000439/0.3493, allocations: 261.6 kB / 474.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.3494, allocations: 71.58 kB / 474.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.3524, allocations: 1.335 MB / 475.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.3525, allocations: 19.94 kB / 475.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3525, allocations: 4 kB / 475.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.3525, allocations: 7.969 kB / 475.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.3572, allocations: 2.314 MB / 477.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3572, allocations: 4 kB / 477.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00095/0.3581, allocations: 211.7 kB / 478 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004301/0.3586, allocations: 165.7 kB / 478.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.3586, allocations: 27.98 kB / 478.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004288/0.3629, allocations: 3.946 MB / 482.2 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.3629, allocations: 7.984 kB / 482.2 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/0.367, allocations: 1.865 MB / 484.1 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.3674, allocations: 155.4 kB / 484.2 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.3675, allocations: 23.94 kB / 484.2 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.3681, allocations: 55.95 kB / 484.3 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.3684, allocations: 100.9 kB / 484.4 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.3684, allocations: 35.98 kB / 484.4 MB, free: 140 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003463/0.3688, allocations: 271.2 kB / 484.7 MB, free: 15.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3688, allocations: 0 / 484.7 MB, free: 15.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001194/0.37, allocations: 307.9 kB / 485 MB, free: 15.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004457/0.3744, allocations: 2.486 MB / 487.5 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002926/0.3774, allocations: 1.387 MB / 488.9 MB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3774, allocations: 0 / 488.9 MB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.3788, allocations: 0.8118 MB / 489.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.3794, allocations: 77.16 kB / 489.7 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.393, allocations: 7.551 MB / 497.3 MB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.3935, allocations: 416.3 kB / 497.7 MB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006029/0.3941, allocations: 142.6 kB / 497.8 MB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.3946, allocations: 355.3 kB / 498.2 MB, free: 1.906 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3946, allocations: 3.938 kB / 498.2 MB, free: 1.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08652/0.4811, allocations: 18.65 MB / 0.5047 GB, free: 15.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.67, allocations: 11.44 kB / 0.5047 GB, free: 15.45 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_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_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable magFluxSensor.Phi.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v.re in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.237768344115466]