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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001694, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2958, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008478/0.3044, allocations: 6.715 MB / 415.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.3091, allocations: 2.436 MB / 417.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.3097, allocations: 24 kB / 417.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004126/0.3138, allocations: 1.878 MB / 419.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.3156, allocations: 0.5511 MB / 420.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.3184, allocations: 1.317 MB / 421.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.3201, allocations: 1.125 MB / 422.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.3216, allocations: 0.9349 MB / 423.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.3225, allocations: 490.2 kB / 424.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008542/0.3233, allocations: 0.6108 MB / 424.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.3235, allocations: 103.9 kB / 424.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.3247, allocations: 455.6 kB / 425.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3249, allocations: 247 kB / 425.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.3255, allocations: 0.5597 MB / 426.2 MB, free: 44 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.328, allocations: 1.672 MB / 427.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.328, allocations: 3.938 kB / 427.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.328, allocations: 0 / 427.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.328, allocations: 0 / 427.9 MB, free: 14.36 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.006666/0.3347, allocations: 2.059 MB / 429.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3348, allocations: 8.031 kB / 429.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.335, allocations: 186.4 kB / 430.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/0.3385, allocations: 0.5114 MB / 430.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.3389, allocations: 310.6 kB / 430.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.339, allocations: 98.95 kB / 431 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.3393, allocations: 128.3 kB / 431.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.3417, allocations: 1.299 MB / 432.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.3418, allocations: 8 kB / 432.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.3419, allocations: 52 kB / 432.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.3419, allocations: 28 kB / 432.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.3444, allocations: 1.197 MB / 433.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007274/0.3517, allocations: 4.278 MB / 438 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.3545, allocations: 2.444 MB / 440.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009604/0.3555, allocations: 0.5033 MB / 441 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.3557, allocations: 187.2 kB / 441.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.3558, allocations: 51.56 kB / 441.2 MB, free: 344 kB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.467e-06/0.3558, allocations: 0 / 441.2 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01047/0.3663, allocations: 3.775 MB / 445 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.3664, allocations: 94.05 kB / 445.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.3669, allocations: 397.5 kB / 445.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.367, allocations: 45.7 kB / 445.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.3673, allocations: 464.6 kB / 445.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.3677, allocations: 452.2 kB / 446.4 MB, free: 11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.3681, allocations: 223.5 kB / 446.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3683, allocations: 378.8 kB / 447 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.3693, allocations: 427.8 kB / 447.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.3705, allocations: 0.6957 MB / 448.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.3728, allocations: 1.175 MB / 449.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3728, allocations: 11.94 kB / 449.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003017/0.3758, allocations: 1.463 MB / 450.7 MB, free: 6.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3759, allocations: 12.16 kB / 450.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.3759, allocations: 11.94 kB / 450.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/0.3765, allocations: 201.2 kB / 451 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.3777, allocations: 283.6 kB / 451.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004728/0.3825, allocations: 4.375 MB / 455.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/0.3835, allocations: 87.94 kB / 455.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-05/0.3836, allocations: 51.98 kB / 455.7 MB, free: 1.145 MB / 366.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.0004444/0.384, allocations: 261.5 kB / 456 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3842, allocations: 67.58 kB / 456.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.3872, allocations: 1.343 MB / 457.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.3872, allocations: 15.94 kB / 457.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3873, allocations: 4 kB / 457.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.3873, allocations: 11.97 kB / 457.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.3922, allocations: 2.598 MB / 460 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3923, allocations: 4 kB / 460 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009928/0.3932, allocations: 211.7 kB / 460.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.3937, allocations: 169.7 kB / 460.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.3938, allocations: 27.98 kB / 460.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004272/0.3981, allocations: 4.189 MB / 464.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3981, allocations: 3.938 kB / 464.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/0.4021, allocations: 1.869 MB / 466.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/0.4026, allocations: 228.6 kB / 466.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.4027, allocations: 24 kB / 466.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.4034, allocations: 60.02 kB / 466.8 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.4037, allocations: 88.88 kB / 466.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.4037, allocations: 35.98 kB / 466.9 MB, free: 5.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003379/0.4041, allocations: 267.2 kB / 467.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4041, allocations: 4 kB / 467.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001195/0.4053, allocations: 303.9 kB / 467.5 MB, free: 4.938 MB / 382.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.004459/0.4098, allocations: 2.494 MB / 470 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.4129, allocations: 1.458 MB / 471.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4129, allocations: 0 / 471.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.4145, allocations: 0.8622 MB / 472.3 MB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.4152, allocations: 69.59 kB / 472.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.4292, allocations: 7.647 MB / 480 MB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.43, allocations: 1.005 MB / 481 MB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006293/0.4306, allocations: 142.6 kB / 481.2 MB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.4311, allocations: 347.3 kB / 481.5 MB, free: 6.473 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4311, allocations: 0 / 481.5 MB, free: 6.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.4858, allocations: 17.32 MB / 498.8 MB, free: 5.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.7/23.19, allocations: 10.55 kB / 498.8 MB, free: 5.367 MB / 414.1 MB (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) 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) Reference file matches