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.001257/0.001257, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001142/0.001143, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.388/1.388, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001368/0.001368, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.09043, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.1998/0.2902, allocations: 10.99 MB / 385.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006881/0.2972, allocations: 3.205 MB / 388.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.3001, allocations: 43 kB / 388.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.302, allocations: 0.6883 MB / 389.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.306, allocations: 0.9054 MB / 390.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.3086, allocations: 0.92 MB / 391.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005908/0.3145, allocations: 3.455 MB / 394.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.316, allocations: 0.8962 MB / 395.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.319, allocations: 1.292 MB / 397 MB, free: 1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.3217, allocations: 1.506 MB / 398.5 MB, free: 276 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000762/0.3224, allocations: 349.6 kB / 398.9 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3235, allocations: 389.7 kB / 399.3 MB, free: 256 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006369/0.3242, allocations: 0.7139 MB / 400 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.326, allocations: 1.473 MB / 401.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005246/0.3312, allocations: 4.278 MB / 405.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3313, allocations: 0 / 405.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3313, allocations: 1.5 kB / 405.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001322/0.3314, allocations: 3.938 kB / 405.7 MB, free: 11.96 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.008272/0.3397, allocations: 3.204 MB / 408.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3398, allocations: 9.406 kB / 408.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.3402, allocations: 286.1 kB / 409.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006533/0.3408, allocations: 306.3 kB / 409.5 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.3436, allocations: 1.417 MB / 410.9 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.3438, allocations: 157.5 kB / 411.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.3441, allocations: 208.7 kB / 411.3 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.348, allocations: 1.893 MB / 413.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.546e-05/0.348, allocations: 4.969 kB / 413.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.3482, allocations: 82.12 kB / 413.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.3483, allocations: 49.59 kB / 413.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.3522, allocations: 1.911 MB / 415.2 MB, free: 5.895 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.01247/0.3646, allocations: 7.393 MB / 422.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/0.3682, allocations: 2.297 MB / 424.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/0.371, allocations: 1.409 MB / 426.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.3712, allocations: 41.89 kB / 426.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.3712, allocations: 56.56 kB / 426.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 3.777e-06/0.3712, allocations: 0 / 426.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06279/0.434, allocations: 17.63 MB / 444.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.4341, allocations: 90.17 kB / 444.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.4373, allocations: 1.84 MB / 446 MB, free: 7.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000453/0.4378, allocations: 81.7 kB / 446.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007354/0.4385, allocations: 0.9948 MB / 447.1 MB, free: 6.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.4396, allocations: 1.216 MB / 448.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008566/0.4404, allocations: 499.5 kB / 448.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4405, allocations: 321 kB / 449.1 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/0.443, allocations: 1.209 MB / 450.3 MB, free: 3.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.4458, allocations: 1.533 MB / 451.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005357/0.4512, allocations: 2.874 MB / 454.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4512, allocations: 0 / 454.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01089/0.4621, allocations: 4.468 MB / 459.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.4622, allocations: 8 kB / 459.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.4622, allocations: 4 kB / 459.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/0.4675, allocations: 1.322 MB / 460.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.4704, allocations: 0.5266 MB / 461 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02838/0.4988, allocations: 20.62 MB / 481.7 MB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.5016, allocations: 115.9 kB / 481.8 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005467/0.5022, allocations: 104 kB / 481.9 MB, free: 2.734 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.001767/0.504, allocations: 0.5716 MB / 482.4 MB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007747/0.5048, allocations: 270.3 kB / 482.7 MB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.5157, allocations: 4.396 MB / 487.1 MB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/0.5157, allocations: 35.94 kB / 487.1 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.5158, allocations: 4 kB / 487.1 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/0.5158, allocations: 15.94 kB / 487.2 MB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/0.5344, allocations: 8.374 MB / 495.5 MB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.5344, allocations: 0 / 495.5 MB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/0.5371, allocations: 463.6 kB / 496 MB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005433/0.5425, allocations: 1.251 MB / 497.2 MB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005006/0.5431, allocations: 71.98 kB / 497.3 MB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02541/0.5685, allocations: 19.2 MB / 0.5044 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5685, allocations: 7.938 kB / 0.5044 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.584, allocations: 6.122 MB / 0.5104 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/0.5862, allocations: 0.6202 MB / 0.511 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009183/0.5872, allocations: 67.94 kB / 0.5111 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/0.5897, allocations: 115.9 kB / 0.5112 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007468/0.5905, allocations: 250.7 kB / 0.5114 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002936/0.5908, allocations: 92.08 kB / 0.5115 GB, free: 7.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002499/0.5933, allocations: 1.293 MB / 0.5128 GB, free: 6.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5933, allocations: 4 kB / 0.5128 GB, free: 6.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004365/0.5977, allocations: 0.8632 MB / 0.5136 GB, free: 5.285 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.015/0.6127, allocations: 7.015 MB / 0.5205 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008858/0.6216, allocations: 4.461 MB / 0.5248 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.6216, allocations: 0 / 0.5248 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00517/0.6268, allocations: 2.985 MB / 0.5277 GB, free: 6.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/0.6299, allocations: 393.5 kB / 0.5281 GB, free: 6.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2326/0.8626, allocations: 23.53 MB / 0.5511 GB, free: 148.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.8646, allocations: 1.709 MB / 0.5527 GB, free: 148.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001845/0.8664, allocations: 289.6 kB / 0.553 GB, free: 148.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.8679, allocations: 1.046 MB / 0.554 GB, free: 148.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/0.8679, allocations: 1.781 kB / 0.554 GB, free: 148.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/0.9991, allocations: 76.2 MB / 0.6285 GB, free: 93.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.68/21.68, allocations: 8.297 kB / 0.6285 GB, free: 93.55 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