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: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 110.5 kB / 17.73 MB, free: 5.32 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.001134/0.001134, allocations: 187 kB / 18.66 MB, free: 4.395 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.378/1.378, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001289/0.001289, allocations: 53.64 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08828, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.1948/0.2831, allocations: 10.99 MB / 386.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006284/0.2894, allocations: 3.215 MB / 389.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.291, allocations: 35.81 kB / 389.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.2924, allocations: 0.687 MB / 390.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.2945, allocations: 0.8854 MB / 390.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.2965, allocations: 0.9249 MB / 391.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00381/0.3003, allocations: 3.454 MB / 395.3 MB, free: 2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.3015, allocations: 0.893 MB / 396.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.3035, allocations: 1.292 MB / 397.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.3057, allocations: 1.517 MB / 399 MB, free: 180 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000574/0.3063, allocations: 350.2 kB / 399.4 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.307, allocations: 381.8 kB / 399.7 MB, free: 168 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.3076, allocations: 0.7145 MB / 400.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.3092, allocations: 1.473 MB / 401.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.3135, allocations: 4.257 MB / 406.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3135, allocations: 0 / 406.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3135, allocations: 0 / 406.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.329e-05/0.3136, allocations: 0.8438 kB / 406.2 MB, free: 11.84 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.007965/0.3216, allocations: 3.126 MB / 409.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.3217, allocations: 12.98 kB / 409.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.3224, allocations: 292.9 kB / 409.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.3252, allocations: 1.41 MB / 411 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.3254, allocations: 157.6 kB / 411.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.3257, allocations: 206.8 kB / 411.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.3297, allocations: 1.888 MB / 413.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/0.3298, allocations: 10.31 kB / 413.3 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.33, allocations: 88.34 kB / 413.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.3301, allocations: 49.91 kB / 413.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004045/0.3341, allocations: 1.907 MB / 415.3 MB, free: 6.094 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.01279/0.3469, allocations: 7.373 MB / 422.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/0.3506, allocations: 2.286 MB / 425 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.3534, allocations: 1.409 MB / 426.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.3535, allocations: 37.97 kB / 426.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.3536, allocations: 60.56 kB / 426.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 3.947e-06/0.3536, allocations: 4 kB / 426.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06223/0.4158, allocations: 17.57 MB / 444.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.416, allocations: 98.05 kB / 444.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/0.419, allocations: 1.84 MB / 446 MB, free: 8.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.4194, allocations: 81.7 kB / 446.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/0.4201, allocations: 0.981 MB / 447.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.4212, allocations: 1.155 MB / 448.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008762/0.4221, allocations: 0.4955 MB / 448.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4222, allocations: 301.1 kB / 449 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/0.4246, allocations: 1.217 MB / 450.2 MB, free: 3.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.4273, allocations: 1.529 MB / 451.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005219/0.4325, allocations: 2.874 MB / 454.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.4325, allocations: 4 kB / 454.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01041/0.4429, allocations: 4.447 MB / 459.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.443, allocations: 8 kB / 459.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.443, allocations: 4 kB / 459.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/0.4483, allocations: 1.334 MB / 460.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.4511, allocations: 0.5188 MB / 460.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02716/0.4783, allocations: 20.59 MB / 481.5 MB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.4814, allocations: 115.9 kB / 481.6 MB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/0.4816, allocations: 111.9 kB / 481.7 MB, free: 3.012 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.001437/0.4831, allocations: 0.5755 MB / 482.3 MB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.4835, allocations: 252.9 kB / 482.6 MB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009952/0.4935, allocations: 4.396 MB / 487 MB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.4935, allocations: 32 kB / 487 MB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.4936, allocations: 7.938 kB / 487 MB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/0.4936, allocations: 15.94 kB / 487 MB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.5093, allocations: 8.374 MB / 495.4 MB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.5093, allocations: 8.281 kB / 495.4 MB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/0.5117, allocations: 463.3 kB / 495.9 MB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005068/0.5168, allocations: 1.251 MB / 497.1 MB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/0.5171, allocations: 75.97 kB / 497.2 MB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/0.5412, allocations: 19.18 MB / 0.5043 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5412, allocations: 8.062 kB / 0.5043 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.5545, allocations: 6.097 MB / 0.5102 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.5562, allocations: 0.6148 MB / 0.5108 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.5565, allocations: 60 kB / 0.5109 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.5583, allocations: 111.9 kB / 0.511 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007383/0.559, allocations: 258.7 kB / 0.5112 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/0.5592, allocations: 95.97 kB / 0.5113 GB, free: 7.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001777/0.561, allocations: 1.29 MB / 0.5126 GB, free: 6.484 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.561, allocations: 0 / 0.5126 GB, free: 6.484 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002749/0.5638, allocations: 0.8711 MB / 0.5134 GB, free: 5.613 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.001106/0.5649, allocations: 437.4 kB / 0.5138 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007526/0.5724, allocations: 4.45 MB / 0.5182 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5724, allocations: 0 / 0.5182 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004775/0.5772, allocations: 2.976 MB / 0.5211 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.5794, allocations: 397.4 kB / 0.5215 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.5896, allocations: 5.596 MB / 0.5269 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.591, allocations: 1.706 MB / 0.5286 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.5927, allocations: 284.1 kB / 0.5289 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/0.5933, allocations: 155.4 kB / 0.529 GB, free: 5.305 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5933, allocations: 0 / 0.529 GB, free: 5.305 MB / 462.1 MB Notification: Performance of Templates: time 0.2901/0.8834, allocations: 53.22 MB / 0.581 GB, free: 140.8 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins/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