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.001695/0.001695, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.002065/0.002065, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.48/1.48, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.001506/0.001506, allocations: 51.92 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01404/0.1287, allocations: 11.15 MB / 428.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.1353, allocations: 3.299 MB / 432.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.137, allocations: 39.88 kB / 432.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.1384, allocations: 0.6793 MB / 432.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.1409, allocations: 0.9155 MB / 433.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.1428, allocations: 0.9323 MB / 434.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004825/0.1477, allocations: 3.453 MB / 438.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.1488, allocations: 0.6015 MB / 438.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.1513, allocations: 1.289 MB / 440.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.154, allocations: 1.533 MB / 441.7 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009927/0.155, allocations: 352 kB / 442 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1561, allocations: 380 kB / 442.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006889/0.1568, allocations: 0.7165 MB / 443.1 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.1585, allocations: 1.477 MB / 444.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2406/0.3991, allocations: 4.263 MB / 448.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.3991, allocations: 3.328 kB / 448.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3991, allocations: 3.844 kB / 448.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001218/0.3992, allocations: 0 / 448.8 MB, free: 15.71 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.008007/0.4072, allocations: 3.192 MB / 452 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4072, allocations: 12.17 kB / 452 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003454/0.4076, allocations: 287.9 kB / 452.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.4081, allocations: 307.6 kB / 452.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.4109, allocations: 1.428 MB / 454.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.4111, allocations: 156.1 kB / 454.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.4115, allocations: 209.2 kB / 454.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004205/0.4157, allocations: 1.886 MB / 456.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/0.4157, allocations: 2.188 kB / 456.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.4159, allocations: 89.78 kB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/0.416, allocations: 49.88 kB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004351/0.4204, allocations: 1.91 MB / 458.3 MB, free: 13.38 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.01417/0.4345, allocations: 7.393 MB / 465.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/0.4381, allocations: 2.148 MB / 467.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/0.4408, allocations: 1.303 MB / 469.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.441, allocations: 35.91 kB / 469.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.441, allocations: 60.62 kB / 469.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 5.46e-06/0.441, allocations: 0 / 469.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.06035/0.5014, allocations: 17.59 MB / 486.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/0.5015, allocations: 90.16 kB / 487 MB, free: 13.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.5047, allocations: 1.832 MB / 488.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006214/0.5053, allocations: 85.7 kB / 488.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.5064, allocations: 1.002 MB / 489.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.508, allocations: 1.222 MB / 491.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.509, allocations: 496.5 kB / 491.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5091, allocations: 308.3 kB / 491.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/0.5119, allocations: 1.221 MB / 493.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00288/0.5148, allocations: 1.533 MB / 494.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005715/0.5205, allocations: 2.878 MB / 497.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.5205, allocations: 4 kB / 497.5 MB, free: 3.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01136/0.5319, allocations: 4.418 MB / 0.4902 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.5319, allocations: 8 kB / 0.4902 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.5319, allocations: 4 kB / 0.4902 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00567/0.5376, allocations: 1.33 MB / 0.4915 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.5406, allocations: 0.5253 MB / 0.492 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03099/0.5716, allocations: 20.6 MB / 0.5121 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.5745, allocations: 107.9 kB / 0.5122 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.5748, allocations: 108 kB / 0.5123 GB, free: 7.359 MB / 414.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.001552/0.5764, allocations: 0.5806 MB / 0.5129 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/0.5769, allocations: 266.3 kB / 0.5132 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.5884, allocations: 4.35 MB / 0.5174 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.924e-05/0.5885, allocations: 36 kB / 0.5174 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.5885, allocations: 3.938 kB / 0.5174 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.279e-05/0.5886, allocations: 27.02 kB / 0.5175 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/0.6089, allocations: 8.329 MB / 0.5256 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.6089, allocations: 0 / 0.5256 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/0.6114, allocations: 463.7 kB / 0.526 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005464/0.6168, allocations: 1.26 MB / 0.5273 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003973/0.6172, allocations: 69.73 kB / 0.5273 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.6452, allocations: 19.21 MB / 0.5461 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6452, allocations: 4 kB / 0.5461 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.6604, allocations: 6.066 MB / 0.552 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/0.6622, allocations: 0.6202 MB / 0.5526 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/0.6627, allocations: 65.81 kB / 0.5527 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.6645, allocations: 115.9 kB / 0.5528 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007361/0.6652, allocations: 253.8 kB / 0.553 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/0.6654, allocations: 95.97 kB / 0.5531 GB, free: 12.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.6674, allocations: 1.286 MB / 0.5544 GB, free: 11.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6674, allocations: 0 / 0.5544 GB, free: 11.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003244/0.6706, allocations: 0.8711 MB / 0.5552 GB, free: 10.49 MB / 462.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.01561/0.6862, allocations: 6.977 MB / 0.5621 GB, free: 3.629 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01071/0.697, allocations: 4.284 MB / 0.5662 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.697, allocations: 1.969 kB / 0.5662 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006085/0.7031, allocations: 2.842 MB / 0.569 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/0.7063, allocations: 377.1 kB / 0.5694 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05455/0.7609, allocations: 23.47 MB / 0.5923 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.7627, allocations: 1.71 MB / 0.594 GB, free: 2.523 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001889/0.7646, allocations: 292.1 kB / 0.5942 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.7662, allocations: 1.046 MB / 0.5953 GB, free: 1.188 MB / 494.1 MB Notification: Performance of SimCode: time 1.133e-06/0.7662, allocations: 0 / 0.5953 GB, free: 1.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4103/1.177, allocations: 76.68 MB / 0.6701 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.33/21.5, allocations: 8 kB / 0.6702 GB, free: 155.5 MB / 0.5137 GB " [Timeout remaining time 638] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 25.513423482887447]