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.001497/0.001497, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001633/0.001633, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 7.789 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 39.94 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2529, allocations: 53.37 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01186/0.2648, allocations: 9.874 MB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.2712, allocations: 3.448 MB / 445.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.2726, allocations: 47.75 kB / 445.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.2739, allocations: 0.6987 MB / 445.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.276, allocations: 1.001 MB / 446.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.2777, allocations: 0.9362 MB / 447.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.2812, allocations: 3.563 MB / 451.4 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009052/0.2821, allocations: 0.6101 MB / 452 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.2837, allocations: 1.363 MB / 453.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.2855, allocations: 1.58 MB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004644/0.286, allocations: 360 kB / 455.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005898/0.2866, allocations: 392 kB / 455.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006254/0.2872, allocations: 0.7359 MB / 456.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.2884, allocations: 1.229 MB / 457.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.2926, allocations: 4.444 MB / 462.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2926, allocations: 0 / 462.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2926, allocations: 0 / 462.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.644e-05/0.2926, allocations: 0 / 462.1 MB, free: 8.266 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.006655/0.2993, allocations: 3.22 MB / 465.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2993, allocations: 8.031 kB / 465.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.234e-05/0.2994, allocations: 60.3 kB / 465.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003616/0.2997, allocations: 291.7 kB / 465.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3007, allocations: 366.9 kB / 466 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.3034, allocations: 1.415 MB / 467.5 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.3035, allocations: 156.2 kB / 467.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.3038, allocations: 208 kB / 467.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/0.3074, allocations: 1.991 MB / 469.8 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.3075, allocations: 3.953 kB / 469.8 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.3077, allocations: 84 kB / 469.9 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.3077, allocations: 52 kB / 469.9 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/0.3114, allocations: 1.863 MB / 471.8 MB, free: 14.36 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.01215/0.3235, allocations: 6.191 MB / 478 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.3271, allocations: 1.975 MB / 480 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.3296, allocations: 1.268 MB / 481.2 MB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.3298, allocations: 33.92 kB / 481.3 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.3298, allocations: 60.56 kB / 481.3 MB, free: 4.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 5.049e-06/0.3298, allocations: 0 / 481.3 MB, free: 4.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06132/0.3911, allocations: 17.27 MB / 498.6 MB, free: 3.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.3912, allocations: 94.19 kB / 498.7 MB, free: 3.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.3942, allocations: 1.98 MB / 0.4889 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002662/0.3944, allocations: 85.7 kB / 0.489 GB, free: 1.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008749/0.3953, allocations: 1.043 MB / 0.49 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.3964, allocations: 1.228 MB / 0.4912 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009339/0.3974, allocations: 0.4919 MB / 0.4917 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3975, allocations: 312.9 kB / 0.492 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.3998, allocations: 1.193 MB / 0.4932 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.4024, allocations: 1.51 MB / 0.4947 GB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005121/0.4076, allocations: 2.859 MB / 0.4975 GB, free: 8.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.4076, allocations: 4 kB / 0.4975 GB, free: 8.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01041/0.418, allocations: 4.402 MB / 0.5018 GB, free: 3.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.418, allocations: 11.94 kB / 0.5018 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.418, allocations: 4 kB / 0.5018 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005591/0.4236, allocations: 1.345 MB / 0.5031 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/0.4264, allocations: 0.511 MB / 0.5036 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02838/0.4547, allocations: 19.61 MB / 0.5227 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.4573, allocations: 95.95 kB / 0.5228 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/0.4575, allocations: 108.3 kB / 0.5229 GB, free: 13.31 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.001236/0.4588, allocations: 0.598 MB / 0.5235 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.4593, allocations: 290.1 kB / 0.5238 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.4694, allocations: 4.324 MB / 0.528 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/0.4694, allocations: 32 kB / 0.528 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4694, allocations: 4 kB / 0.528 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/0.4695, allocations: 15.94 kB / 0.5281 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.4864, allocations: 7.586 MB / 0.5355 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.4864, allocations: 4 kB / 0.5355 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1981/0.6845, allocations: 441.4 kB / 0.5359 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005823/0.6903, allocations: 1.266 MB / 0.5371 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004509/0.6908, allocations: 74.39 kB / 0.5372 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/0.7109, allocations: 18.22 MB / 0.555 GB, free: 88.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7109, allocations: 0 / 0.555 GB, free: 88.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.7224, allocations: 6.033 MB / 0.5609 GB, free: 84.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.7241, allocations: 0.5654 MB / 0.5614 GB, free: 84.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/0.7246, allocations: 64 kB / 0.5615 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.7264, allocations: 93.55 kB / 0.5616 GB, free: 84.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007174/0.7271, allocations: 277.5 kB / 0.5619 GB, free: 84.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.7273, allocations: 91.41 kB / 0.5619 GB, free: 83.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001561/0.7289, allocations: 1.386 MB / 0.5633 GB, free: 82.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7289, allocations: 0 / 0.5633 GB, free: 82.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002772/0.7316, allocations: 0.8789 MB / 0.5642 GB, free: 81.87 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.01238/0.744, allocations: 6.95 MB / 0.5709 GB, free: 75.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006519/0.7505, allocations: 4.24 MB / 0.5751 GB, free: 71.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.7505, allocations: 0 / 0.5751 GB, free: 71.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003771/0.7543, allocations: 2.822 MB / 0.5778 GB, free: 68.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.7563, allocations: 400.2 kB / 0.5782 GB, free: 68.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/0.793, allocations: 23.94 MB / 0.6016 GB, free: 44.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.7941, allocations: 1.183 MB / 0.6028 GB, free: 42.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001682/0.7958, allocations: 304.8 kB / 0.603 GB, free: 42.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.7972, allocations: 1.089 MB / 0.6041 GB, free: 41.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7972, allocations: 4 kB / 0.6041 GB, free: 41.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/0.936, allocations: 80.68 MB / 0.6829 GB, free: 9.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.43/21.37, allocations: 11.94 kB / 0.6829 GB, free: 9.18 MB / 494.1 MB " [Timeout remaining time 638] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.488138302927837]