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.001311/0.001311, allocations: 112.5 kB / 20.43 MB, free: 1.469 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.001395/0.001395, allocations: 213 kB / 23.74 MB, free: 4.695 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 8.039 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.003012/0.003012, allocations: 67.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3313, allocations: 53.42 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009908/0.3412, allocations: 6.758 MB / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005533/0.3467, allocations: 2.495 MB / 440.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.3475, allocations: 20 kB / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004667/0.3522, allocations: 1.89 MB / 442.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.3544, allocations: 0.5511 MB / 442.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.3574, allocations: 1.334 MB / 444.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.3594, allocations: 1.113 MB / 445.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.3607, allocations: 0.8325 MB / 446.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007367/0.3615, allocations: 0.4904 MB / 446.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000783/0.3623, allocations: 0.6264 MB / 447.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3624, allocations: 104 kB / 447.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3635, allocations: 439.6 kB / 447.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.3637, allocations: 251 kB / 448.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.3643, allocations: 0.5636 MB / 448.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.3664, allocations: 1.663 MB / 450.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3664, allocations: 3.938 kB / 450.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3664, allocations: 0 / 450.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.3665, allocations: 0 / 450.3 MB, free: 3.5 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.006454/0.3729, allocations: 1.982 MB / 452.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.373, allocations: 12.03 kB / 452.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.3732, allocations: 190.4 kB / 452.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003565/0.3768, allocations: 491.8 kB / 453 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.3773, allocations: 260.8 kB / 453.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.3774, allocations: 103 kB / 453.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.3777, allocations: 132.3 kB / 453.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.3802, allocations: 1.303 MB / 454.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.3803, allocations: 0 / 454.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3804, allocations: 52 kB / 454.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.3804, allocations: 28 kB / 454.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.383, allocations: 1.197 MB / 456.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007045/0.39, allocations: 4.021 MB / 460.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.3921, allocations: 1.137 MB / 461.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.3931, allocations: 464 kB / 461.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.3932, allocations: 52.92 kB / 461.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.3933, allocations: 47.56 kB / 461.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.226e-06/0.3933, allocations: 0 / 461.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01055/0.4038, allocations: 3.537 MB / 465.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.4039, allocations: 98.05 kB / 465.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.4044, allocations: 389.5 kB / 465.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/0.4045, allocations: 57.64 kB / 465.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.4048, allocations: 460.6 kB / 466.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.4052, allocations: 452.1 kB / 466.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.4055, allocations: 231.5 kB / 466.9 MB, free: 2.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4058, allocations: 370.8 kB / 467.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.4068, allocations: 439.8 kB / 467.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4082, allocations: 0.6879 MB / 468.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.4106, allocations: 1.171 MB / 469.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.4106, allocations: 7.938 kB / 469.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003126/0.4137, allocations: 1.47 MB / 471.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4137, allocations: 8 kB / 471.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4138, allocations: 8 kB / 471.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.4143, allocations: 193.6 kB / 471.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4156, allocations: 287.6 kB / 471.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/0.4205, allocations: 4.172 MB / 475.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/0.4214, allocations: 75.97 kB / 475.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4215, allocations: 55.98 kB / 475.9 MB, free: 9.148 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.000493/0.422, allocations: 265.5 kB / 476.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.4221, allocations: 67.58 kB / 476.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.4253, allocations: 1.327 MB / 477.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4253, allocations: 15.94 kB / 477.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4253, allocations: 4 kB / 477.5 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.4253, allocations: 7.969 kB / 477.5 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/0.4305, allocations: 2.578 MB / 480.1 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4305, allocations: 0 / 480.1 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.4315, allocations: 207.7 kB / 480.3 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.432, allocations: 165.9 kB / 480.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.4321, allocations: 27.98 kB / 480.5 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004478/0.4366, allocations: 3.985 MB / 484.5 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4366, allocations: 3.938 kB / 484.5 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.4407, allocations: 1.873 MB / 486.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.4411, allocations: 147.5 kB / 486.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4413, allocations: 23.94 kB / 486.5 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.4419, allocations: 64 kB / 486.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.4421, allocations: 96.81 kB / 486.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.4422, allocations: 35.98 kB / 486.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003306/0.4425, allocations: 267.2 kB / 487 MB, free: 13.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4425, allocations: 0 / 487 MB, free: 13.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001155/0.4437, allocations: 308 kB / 487.3 MB, free: 13.33 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.004753/0.4484, allocations: 2.482 MB / 489.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003324/0.4518, allocations: 1.387 MB / 491.2 MB, free: 9.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.4518, allocations: 4.062 kB / 491.2 MB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.4534, allocations: 0.8232 MB / 492 MB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.454, allocations: 66.73 kB / 492.1 MB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.4683, allocations: 7.558 MB / 499.6 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.4693, allocations: 1.013 MB / 0.4889 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005833/0.4699, allocations: 142.6 kB / 0.489 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.4704, allocations: 355.3 kB / 0.4894 GB, free: 15.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4704, allocations: 0 / 0.4894 GB, free: 15.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06338/0.5338, allocations: 18.54 MB / 0.5075 GB, free: 12.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.74/25.27, allocations: 14.64 kB / 0.5075 GB, free: 12.66 MB / 430.1 MB " [Timeout remaining time 635] (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: 27.708607623000717]