Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 119.7 kB / 18.5 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 213.6 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 53.33 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01322/0.1232, allocations: 11.46 MB / 438.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006901/0.1301, allocations: 3.517 MB / 441.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.1317, allocations: 39.88 kB / 441.7 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.1331, allocations: 0.6987 MB / 442.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.1359, allocations: 1.005 MB / 443.4 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.1381, allocations: 0.9427 MB / 444.3 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.226/0.3642, allocations: 3.55 MB / 447.9 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.3655, allocations: 0.606 MB / 448.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.3674, allocations: 1.332 MB / 449.8 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.3691, allocations: 1.578 MB / 451.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005566/0.3697, allocations: 356.4 kB / 451.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.3706, allocations: 392.8 kB / 452.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.3711, allocations: 0.7309 MB / 452.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.3727, allocations: 1.528 MB / 454.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005672/0.3784, allocations: 4.424 MB / 458.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3784, allocations: 1.062 kB / 458.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3784, allocations: 1.469 kB / 458.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001337/0.3785, allocations: 0 / 458.8 MB, free: 7.34 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.008116/0.3866, allocations: 3.288 MB / 462.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3867, allocations: 11.47 kB / 462.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.387, allocations: 289 kB / 462.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.3881, allocations: 367.8 kB / 462.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.3905, allocations: 1.487 MB / 464.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.3906, allocations: 157.4 kB / 464.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.3909, allocations: 211 kB / 464.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.3943, allocations: 1.864 MB / 466.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/0.3944, allocations: 9.891 kB / 466.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.3946, allocations: 85.38 kB / 466.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.3946, allocations: 50.88 kB / 466.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/0.3979, allocations: 1.862 MB / 468.5 MB, free: 2.598 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.01245/0.4104, allocations: 7.483 MB / 476 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.414, allocations: 2.136 MB / 478.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.4165, allocations: 1.273 MB / 479.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.4166, allocations: 36.36 kB / 479.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/0.4167, allocations: 57.56 kB / 479.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.92e-06/0.4167, allocations: 0 / 479.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06228/0.479, allocations: 17.73 MB / 497.2 MB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.4791, allocations: 88.83 kB / 497.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/0.4825, allocations: 1.992 MB / 499.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005656/0.4831, allocations: 81.7 kB / 499.3 MB, free: 13.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.484, allocations: 1.042 MB / 0.4887 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.4852, allocations: 1.234 MB / 0.4899 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009804/0.4862, allocations: 0.4958 MB / 0.4903 GB, free: 11.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4863, allocations: 305.1 kB / 0.4906 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.4888, allocations: 1.19 MB / 0.4918 GB, free: 9.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.4916, allocations: 1.509 MB / 0.4933 GB, free: 7.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005523/0.4972, allocations: 2.858 MB / 0.4961 GB, free: 5.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.4972, allocations: 1.031 kB / 0.4961 GB, free: 5.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01098/0.5082, allocations: 4.416 MB / 0.5004 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.5082, allocations: 4.625 kB / 0.5004 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.5082, allocations: 4 kB / 0.5004 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005725/0.5139, allocations: 1.348 MB / 0.5017 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/0.5169, allocations: 0.5126 MB / 0.5022 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03098/0.5478, allocations: 20.67 MB / 0.5224 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/0.5509, allocations: 99.84 kB / 0.5225 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006765/0.5516, allocations: 106.6 kB / 0.5226 GB, free: 9.051 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 (302): * Single equations (assignments): 295 * 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.002006/0.5536, allocations: 0.5928 MB / 0.5232 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008578/0.5545, allocations: 282.2 kB / 0.5234 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.5665, allocations: 4.325 MB / 0.5277 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-05/0.5665, allocations: 39.94 kB / 0.5277 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/0.5665, allocations: 4 kB / 0.5277 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.277e-05/0.5666, allocations: 15.94 kB / 0.5277 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/0.5879, allocations: 8.361 MB / 0.5359 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.5879, allocations: 0 / 0.5359 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/0.5904, allocations: 448.5 kB / 0.5363 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005705/0.5961, allocations: 1.285 MB / 0.5376 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/0.5965, allocations: 63.98 kB / 0.5376 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02873/0.6253, allocations: 19.27 MB / 0.5564 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6253, allocations: 0.5625 kB / 0.5564 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.6406, allocations: 6.031 MB / 0.5623 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/0.6425, allocations: 0.6407 MB / 0.563 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008206/0.6433, allocations: 67.95 kB / 0.563 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.6457, allocations: 99.89 kB / 0.5631 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007466/0.6464, allocations: 253.6 kB / 0.5634 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/0.6467, allocations: 91.98 kB / 0.5634 GB, free: 14.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002775/0.6494, allocations: 1.385 MB / 0.5648 GB, free: 12.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6494, allocations: 4 kB / 0.5648 GB, free: 12.85 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003902/0.6533, allocations: 0.8828 MB / 0.5657 GB, free: 11.97 MB / 478.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 (247): * Single equations (assignments): 240 * 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.01572/0.6691, allocations: 6.925 MB / 0.5724 GB, free: 5.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.6791, allocations: 4.235 MB / 0.5766 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.6791, allocations: 0 / 0.5766 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007499/0.6866, allocations: 2.822 MB / 0.5793 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/0.691, allocations: 403 kB / 0.5797 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0719/0.7629, allocations: 23.95 MB / 0.6031 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/0.7654, allocations: 1.743 MB / 0.6048 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002335/0.7677, allocations: 300.8 kB / 0.6051 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/0.7698, allocations: 1.093 MB / 0.6061 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.7698, allocations: 0 / 0.6061 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4168/1.187, allocations: 78.85 MB / 0.6832 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.05/22.24, allocations: 20.2 kB / 0.6832 GB, free: 163.8 MB / 0.5294 GB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.272402809001505]