Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 184.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 56.3 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.1016, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.2081/0.3098, allocations: 10.98 MB / 385.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005885/0.3157, allocations: 3.214 MB / 388.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.3176, allocations: 42.94 kB / 388.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.3189, allocations: 0.6808 MB / 389.6 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.3214, allocations: 0.8898 MB / 390.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.3233, allocations: 0.9169 MB / 391.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.327, allocations: 3.46 MB / 394.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.3281, allocations: 0.8888 MB / 395.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.33, allocations: 1.282 MB / 397 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.3317, allocations: 1.506 MB / 398.5 MB, free: 304 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.3321, allocations: 350.5 kB / 398.8 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.3327, allocations: 390.4 kB / 399.2 MB, free: 284 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005584/0.3333, allocations: 0.7126 MB / 399.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.3349, allocations: 1.475 MB / 401.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.3389, allocations: 4.26 MB / 405.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.339, allocations: 1.188 kB / 405.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.339, allocations: 0 / 405.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.674e-05/0.3391, allocations: 0 / 405.7 MB, free: 12.02 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007459/0.3465, allocations: 3.121 MB / 408.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3466, allocations: 12.98 kB / 408.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003658/0.347, allocations: 290.8 kB / 409.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005283/0.3475, allocations: 291.8 kB / 409.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.3501, allocations: 1.408 MB / 410.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.3503, allocations: 164.6 kB / 410.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/0.3506, allocations: 210.8 kB / 411.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.3542, allocations: 1.896 MB / 413.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.093e-05/0.3543, allocations: 1.031 kB / 413.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.3544, allocations: 81.97 kB / 413.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.3545, allocations: 49.44 kB / 413.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003858/0.3584, allocations: 1.912 MB / 415.1 MB, free: 6.039 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.3708, allocations: 7.372 MB / 422.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.3745, allocations: 2.289 MB / 424.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/0.3773, allocations: 1.413 MB / 426.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.3775, allocations: 41.91 kB / 426.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3775, allocations: 56.56 kB / 426.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.058e-06/0.3775, allocations: 0 / 426.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06059/0.4381, allocations: 17.57 MB / 443.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4382, allocations: 86.17 kB / 443.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.4408, allocations: 1.848 MB / 445.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004144/0.4412, allocations: 81.7 kB / 445.8 MB, free: 7.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007216/0.4419, allocations: 0.9733 MB / 446.8 MB, free: 7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.443, allocations: 1.159 MB / 448 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008498/0.4438, allocations: 0.4917 MB / 448.5 MB, free: 5.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4439, allocations: 309 kB / 448.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.4464, allocations: 1.213 MB / 450 MB, free: 3.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.4491, allocations: 1.537 MB / 451.5 MB, free: 2.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00541/0.4545, allocations: 2.874 MB / 454.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4546, allocations: 0 / 454.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01048/0.4651, allocations: 4.451 MB / 458.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4651, allocations: 4 kB / 458.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.4652, allocations: 8 kB / 458.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005508/0.4707, allocations: 1.322 MB / 460.2 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.4736, allocations: 0.5227 MB / 460.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02846/0.5021, allocations: 20.6 MB / 481.3 MB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.5049, allocations: 111.9 kB / 481.4 MB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/0.5054, allocations: 104 kB / 481.5 MB, free: 3.066 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001655/0.5071, allocations: 0.5793 MB / 482.1 MB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/0.5078, allocations: 256.9 kB / 482.3 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.519, allocations: 4.392 MB / 486.7 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/0.519, allocations: 39.94 kB / 486.8 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.5191, allocations: 4 kB / 486.8 MB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/0.5191, allocations: 15.94 kB / 486.8 MB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/0.5374, allocations: 8.374 MB / 495.2 MB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.5374, allocations: 0 / 495.2 MB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/0.5399, allocations: 455.7 kB / 495.6 MB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005238/0.5451, allocations: 1.263 MB / 496.9 MB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/0.5455, allocations: 67.98 kB / 496.9 MB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/0.5707, allocations: 19.19 MB / 0.504 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5707, allocations: 0 / 0.504 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.5856, allocations: 6.109 MB / 0.51 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/0.5873, allocations: 0.6109 MB / 0.5106 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006978/0.588, allocations: 67.98 kB / 0.5107 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.5903, allocations: 112 kB / 0.5108 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007268/0.5911, allocations: 258.7 kB / 0.511 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/0.5913, allocations: 83.98 kB / 0.5111 GB, free: 7.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002224/0.5936, allocations: 1.293 MB / 0.5124 GB, free: 6.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5936, allocations: 0 / 0.5124 GB, free: 6.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003519/0.5971, allocations: 0.8633 MB / 0.5132 GB, free: 5.676 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01468/0.6118, allocations: 6.998 MB / 0.52 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008366/0.6202, allocations: 4.453 MB / 0.5244 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.6203, allocations: 0 / 0.5244 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005199/0.6255, allocations: 2.985 MB / 0.5273 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.6283, allocations: 389.5 kB / 0.5277 GB, free: 6.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2362/0.8646, allocations: 23.43 MB / 0.5505 GB, free: 149.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.8665, allocations: 1.707 MB / 0.5522 GB, free: 149 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001743/0.8682, allocations: 290.2 kB / 0.5525 GB, free: 149 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.8696, allocations: 1.044 MB / 0.5535 GB, free: 149 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8697, allocations: 1.375 kB / 0.5535 GB, free: 149 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/0.998, allocations: 76.19 MB / 0.6279 GB, free: 93.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/20.66, allocations: 11.95 kB / 0.6279 GB, free: 93.98 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches