Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2539, allocations: 52.19 MB / 422.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01327/0.2671, allocations: 11.18 MB / 433.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006771/0.2739, allocations: 3.307 MB / 437.1 MB, free: 196 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.2759, allocations: 43.81 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.2773, allocations: 0.6833 MB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.2801, allocations: 0.9155 MB / 438.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.282, allocations: 0.9356 MB / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004399/0.2864, allocations: 3.454 MB / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.2875, allocations: 0.603 MB / 443.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.2895, allocations: 1.328 MB / 445.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.2913, allocations: 1.529 MB / 446.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004407/0.2918, allocations: 348 kB / 446.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.2924, allocations: 380 kB / 447.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006183/0.293, allocations: 0.7203 MB / 448 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.2945, allocations: 1.477 MB / 449.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.2989, allocations: 4.273 MB / 453.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2989, allocations: 0 / 453.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.299, allocations: 0 / 453.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-05/0.299, allocations: 0 / 453.8 MB, free: 15.44 MB / 366.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.007127/0.3061, allocations: 3.127 MB / 456.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3062, allocations: 8.031 kB / 456.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003487/0.3065, allocations: 287.6 kB / 457.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.307, allocations: 307 kB / 457.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.3096, allocations: 1.352 MB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.3097, allocations: 156.5 kB / 459 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.31, allocations: 215.9 kB / 459.2 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/0.3136, allocations: 1.877 MB / 461.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.3137, allocations: 15.94 kB / 461.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.3138, allocations: 84 kB / 461.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.3139, allocations: 55.94 kB / 461.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.3178, allocations: 1.906 MB / 463.2 MB, free: 5.891 MB / 366.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.01304/0.3309, allocations: 7.269 MB / 470.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.3345, allocations: 1.99 MB / 472.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002763/0.3372, allocations: 1.292 MB / 473.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.3374, allocations: 37.97 kB / 473.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.3374, allocations: 60.5 kB / 473.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=234): time 4.449e-06/0.3374, allocations: 0 / 473.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=351): time 0.0588/0.3962, allocations: 17.14 MB / 490.9 MB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.3963, allocations: 86.17 kB / 491 MB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.3989, allocations: 1.848 MB / 492.9 MB, free: 7.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.3992, allocations: 81.7 kB / 493 MB, free: 7.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.4001, allocations: 0.9949 MB / 494 MB, free: 6.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/0.4012, allocations: 1.22 MB / 495.2 MB, free: 5.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008998/0.4021, allocations: 499.5 kB / 495.7 MB, free: 4.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4022, allocations: 305.1 kB / 496 MB, free: 4.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.4047, allocations: 1.217 MB / 497.2 MB, free: 3.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.4074, allocations: 1.537 MB / 498.7 MB, free: 1.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/0.4131, allocations: 2.874 MB / 0.4898 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4131, allocations: 0 / 0.4898 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01106/0.4242, allocations: 4.425 MB / 0.4941 GB, free: 10.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.4242, allocations: 8 kB / 0.4942 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.4242, allocations: 4 kB / 0.4942 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005538/0.4298, allocations: 1.326 MB / 0.4955 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.4326, allocations: 0.5266 MB / 0.496 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02993/0.4626, allocations: 19.88 MB / 0.5154 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.4652, allocations: 107.9 kB / 0.5155 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005254/0.4657, allocations: 116 kB / 0.5156 GB, free: 3.613 MB / 430.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.001809/0.4675, allocations: 0.5793 MB / 0.5162 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/0.4682, allocations: 262.3 kB / 0.5164 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.4797, allocations: 4.357 MB / 0.5207 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/0.4798, allocations: 39.88 kB / 0.5207 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.4798, allocations: 4 kB / 0.5207 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.955e-05/0.4798, allocations: 15.94 kB / 0.5207 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.4988, allocations: 8.288 MB / 0.5288 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.4988, allocations: 0 / 0.5288 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/0.5013, allocations: 463.6 kB / 0.5293 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005365/0.5066, allocations: 1.255 MB / 0.5305 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004292/0.5071, allocations: 67.92 kB / 0.5306 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2519/0.7589, allocations: 18.48 MB / 0.5486 GB, free: 98.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7589, allocations: 5.141 kB / 0.5486 GB, free: 98.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.7702, allocations: 6.085 MB / 0.5545 GB, free: 95.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.7714, allocations: 0.5522 MB / 0.5551 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.7717, allocations: 59.44 kB / 0.5551 GB, free: 95.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.7733, allocations: 115 kB / 0.5552 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006568/0.774, allocations: 266.5 kB / 0.5555 GB, free: 95.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/0.7742, allocations: 89.88 kB / 0.5556 GB, free: 95.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.7756, allocations: 1.292 MB / 0.5568 GB, free: 94.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7756, allocations: 2.969 kB / 0.5569 GB, free: 94.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002277/0.7778, allocations: 0.8712 MB / 0.5577 GB, free: 93.95 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.01186/0.7897, allocations: 6.965 MB / 0.5645 GB, free: 87.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005964/0.7956, allocations: 4.278 MB / 0.5687 GB, free: 83.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.7957, allocations: 0 / 0.5687 GB, free: 83.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003622/0.7993, allocations: 2.849 MB / 0.5715 GB, free: 80.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.801, allocations: 377.7 kB / 0.5718 GB, free: 80.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03509/0.8361, allocations: 23.47 MB / 0.5947 GB, free: 56.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.8371, allocations: 1.702 MB / 0.5964 GB, free: 54.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.8385, allocations: 296.1 kB / 0.5967 GB, free: 54.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.8396, allocations: 1.046 MB / 0.5977 GB, free: 53.44 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8396, allocations: 0 / 0.5977 GB, free: 53.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/0.984, allocations: 79.41 MB / 0.6753 GB, free: 6.434 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.51/22.49, allocations: 7.922 kB / 0.6753 GB, free: 6.426 MB / 478.1 MB " [Timeout remaining time 637] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.13189978292212]