Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2681, allocations: 53.38 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01376/0.2818, allocations: 9.881 MB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009553/0.2914, allocations: 3.46 MB / 444.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.2943, allocations: 43.81 kB / 444.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.2963, allocations: 0.6948 MB / 445.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.2998, allocations: 1.005 MB / 446.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.3023, allocations: 0.944 MB / 447.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005654/0.3079, allocations: 3.562 MB / 450.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.3091, allocations: 0.6023 MB / 451.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.3114, allocations: 1.363 MB / 452.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.3136, allocations: 1.587 MB / 454.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005136/0.3141, allocations: 356 kB / 454.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006861/0.3148, allocations: 391.9 kB / 455 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006522/0.3155, allocations: 0.7282 MB / 455.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.3169, allocations: 1.233 MB / 456.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004514/0.3214, allocations: 4.448 MB / 461.4 MB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3214, allocations: 0 / 461.4 MB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3214, allocations: 3.938 kB / 461.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.037e-05/0.3215, allocations: 0 / 461.4 MB, free: 8.211 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.007796/0.3293, allocations: 3.213 MB / 464.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3293, allocations: 12.02 kB / 464.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003881/0.3297, allocations: 287.7 kB / 464.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.3308, allocations: 366.9 kB / 465.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.3338, allocations: 1.419 MB / 466.7 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.3339, allocations: 156.2 kB / 466.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/0.3342, allocations: 204 kB / 467 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.3382, allocations: 1.999 MB / 469 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/0.3382, allocations: 7.953 kB / 469 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.3384, allocations: 80 kB / 469.1 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/0.3385, allocations: 52 kB / 469.1 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.3422, allocations: 1.847 MB / 471 MB, free: 14.38 MB / 382.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.01318/0.3554, allocations: 6.191 MB / 477.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.359, allocations: 1.982 MB / 479.2 MB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.3616, allocations: 1.264 MB / 480.4 MB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3617, allocations: 33.98 kB / 480.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.3617, allocations: 56.56 kB / 480.5 MB, free: 4.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.458e-06/0.3618, allocations: 4 kB / 480.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06378/0.4255, allocations: 17.26 MB / 497.8 MB, free: 3.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.4256, allocations: 86.2 kB / 497.9 MB, free: 3.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003708/0.4293, allocations: 2.007 MB / 499.9 MB, free: 1.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004902/0.4298, allocations: 81.7 kB / 500 MB, free: 1.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.4309, allocations: 1.046 MB / 0.4893 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.4323, allocations: 1.236 MB / 0.4905 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009519/0.4333, allocations: 0.4957 MB / 0.4909 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4334, allocations: 308.9 kB / 0.4912 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.4359, allocations: 1.19 MB / 0.4924 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.4387, allocations: 1.506 MB / 0.4939 GB, free: 11.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/0.4438, allocations: 2.859 MB / 0.4967 GB, free: 8.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4439, allocations: 4 kB / 0.4967 GB, free: 8.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01094/0.4548, allocations: 4.402 MB / 0.501 GB, free: 3.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.4548, allocations: 8 kB / 0.501 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.4549, allocations: 11.94 kB / 0.501 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005948/0.4608, allocations: 1.342 MB / 0.5023 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.4639, allocations: 0.5226 MB / 0.5028 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/0.4925, allocations: 19.61 MB / 0.522 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.4953, allocations: 91.97 kB / 0.522 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.4957, allocations: 104 kB / 0.5221 GB, free: 13.32 MB / 446.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.001429/0.4971, allocations: 0.595 MB / 0.5227 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/0.4976, allocations: 282.2 kB / 0.523 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.5081, allocations: 4.32 MB / 0.5272 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/0.5081, allocations: 36 kB / 0.5273 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.5082, allocations: 3.938 kB / 0.5273 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.427e-05/0.5082, allocations: 23.92 kB / 0.5273 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.5253, allocations: 7.575 MB / 0.5347 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/0.5253, allocations: 4.281 kB / 0.5347 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2439/0.7691, allocations: 448.4 kB / 0.5351 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006468/0.7756, allocations: 1.265 MB / 0.5363 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005419/0.7762, allocations: 67.31 kB / 0.5364 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/0.7972, allocations: 18.21 MB / 0.5542 GB, free: 88.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7972, allocations: 6.969 kB / 0.5542 GB, free: 88.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.8087, allocations: 6.032 MB / 0.5601 GB, free: 84.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.8104, allocations: 0.5685 MB / 0.5606 GB, free: 84.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/0.8108, allocations: 63.09 kB / 0.5607 GB, free: 84.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.8127, allocations: 100.5 kB / 0.5608 GB, free: 84.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000854/0.8136, allocations: 271 kB / 0.5611 GB, free: 84.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.8137, allocations: 91 kB / 0.5611 GB, free: 84.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001702/0.8154, allocations: 1.385 MB / 0.5625 GB, free: 82.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8154, allocations: 0 / 0.5625 GB, free: 82.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003126/0.8186, allocations: 0.8828 MB / 0.5634 GB, free: 81.96 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 (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.01232/0.8309, allocations: 6.944 MB / 0.5701 GB, free: 75.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006661/0.8375, allocations: 4.237 MB / 0.5743 GB, free: 71.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.8376, allocations: 0 / 0.5743 GB, free: 71.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004117/0.8417, allocations: 2.816 MB / 0.577 GB, free: 68.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.844, allocations: 402.8 kB / 0.5774 GB, free: 68.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/0.8829, allocations: 23.94 MB / 0.6008 GB, free: 44.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.8843, allocations: 1.191 MB / 0.602 GB, free: 42.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002079/0.8864, allocations: 300.8 kB / 0.6022 GB, free: 42.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/0.888, allocations: 1.093 MB / 0.6033 GB, free: 41.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.888, allocations: 0 / 0.6033 GB, free: 41.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/1.042, allocations: 81.32 MB / 0.6827 GB, free: 8.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.03, allocations: 3.938 kB / 0.6827 GB, free: 8.648 MB / 494.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 21.748488011973677]