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.001349/0.001349, allocations: 113.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.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.001579/0.001579, allocations: 212 kB / 23.74 MB, free: 4.656 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001724/0.001724, allocations: 52.06 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2867, allocations: 53.36 MB / 431.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01457/0.3013, allocations: 11.49 MB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008469/0.3098, allocations: 3.549 MB / 446.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.3128, allocations: 47.75 kB / 446.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.3151, allocations: 0.6987 MB / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00496/0.32, allocations: 0.9903 MB / 447.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.3234, allocations: 0.9549 MB / 448.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007036/0.3304, allocations: 3.544 MB / 452.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.3322, allocations: 0.6095 MB / 453 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.3354, allocations: 1.367 MB / 454.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.3385, allocations: 1.576 MB / 456 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.3397, allocations: 360 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.3411, allocations: 392 kB / 456.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.3424, allocations: 0.732 MB / 457.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.3449, allocations: 1.532 MB / 459 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.3505, allocations: 4.421 MB / 463.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3505, allocations: 0 / 463.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3505, allocations: 0 / 463.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.3506, allocations: 0 / 463.4 MB, free: 6.582 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.008128/0.3587, allocations: 3.216 MB / 466.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3588, allocations: 8.031 kB / 466.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004096/0.3592, allocations: 287.7 kB / 466.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.3603, allocations: 374.8 kB / 467.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.3633, allocations: 1.415 MB / 468.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.3634, allocations: 164.1 kB / 468.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.3637, allocations: 200 kB / 469 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.3675, allocations: 1.866 MB / 470.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/0.3676, allocations: 3.953 kB / 470.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.3678, allocations: 88 kB / 471 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.3678, allocations: 48 kB / 471 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.3716, allocations: 1.863 MB / 472.9 MB, free: 12.89 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.01427/0.3859, allocations: 7.35 MB / 480.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/0.3897, allocations: 1.988 MB / 482.2 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.3923, allocations: 1.268 MB / 483.5 MB, free: 2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.3925, allocations: 45.91 kB / 483.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.3925, allocations: 56.56 kB / 483.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.117e-06/0.3925, allocations: 0 / 483.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06288/0.4554, allocations: 17.26 MB / 0.4891 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.4555, allocations: 90.2 kB / 0.4892 GB, free: 452 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.4588, allocations: 1.988 MB / 0.4911 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.4592, allocations: 81.7 kB / 0.4912 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009463/0.4601, allocations: 1.039 MB / 0.4922 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.4614, allocations: 1.235 MB / 0.4934 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009484/0.4624, allocations: 0.5035 MB / 0.4939 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4625, allocations: 305.1 kB / 0.4942 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.465, allocations: 1.19 MB / 0.4954 GB, free: 10.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.4677, allocations: 1.509 MB / 0.4969 GB, free: 8.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005463/0.4732, allocations: 2.855 MB / 0.4996 GB, free: 5.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.4732, allocations: 0 / 0.4996 GB, free: 5.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01113/0.4843, allocations: 4.414 MB / 0.504 GB, free: 1.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.4844, allocations: 6.656 kB / 0.504 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.4844, allocations: 8 kB / 0.504 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/0.4902, allocations: 1.349 MB / 0.5053 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.4932, allocations: 0.511 MB / 0.5058 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0305/0.5237, allocations: 19.95 MB / 0.5253 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.5264, allocations: 87.97 kB / 0.5254 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.5267, allocations: 112 kB / 0.5255 GB, free: 10.21 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.001438/0.5281, allocations: 0.5889 MB / 0.526 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/0.5287, allocations: 286.1 kB / 0.5263 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.5395, allocations: 4.324 MB / 0.5305 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/0.5395, allocations: 36 kB / 0.5306 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5396, allocations: 4 kB / 0.5306 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/0.5396, allocations: 19.94 kB / 0.5306 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2404/0.78, allocations: 8.334 MB / 0.5387 GB, free: 98.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.78, allocations: 3.938 kB / 0.5387 GB, free: 98.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/0.7823, allocations: 444.4 kB / 0.5392 GB, free: 98.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005193/0.7875, allocations: 1.279 MB / 0.5404 GB, free: 98.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/0.7879, allocations: 66.42 kB / 0.5405 GB, free: 98.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.8077, allocations: 18.55 MB / 0.5586 GB, free: 85.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8077, allocations: 3.938 kB / 0.5586 GB, free: 85.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.8187, allocations: 6.021 MB / 0.5645 GB, free: 81.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.8203, allocations: 0.5654 MB / 0.565 GB, free: 81.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/0.8206, allocations: 63.95 kB / 0.5651 GB, free: 80.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.8223, allocations: 97.64 kB / 0.5652 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/0.8229, allocations: 277.6 kB / 0.5654 GB, free: 80.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.8231, allocations: 91.33 kB / 0.5655 GB, free: 80.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.8246, allocations: 1.384 MB / 0.5669 GB, free: 79.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8246, allocations: 0 / 0.5669 GB, free: 79.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00247/0.8271, allocations: 0.8828 MB / 0.5677 GB, free: 78.55 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.01172/0.8388, allocations: 6.925 MB / 0.5745 GB, free: 72.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006251/0.8451, allocations: 4.237 MB / 0.5786 GB, free: 67.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.8451, allocations: 0 / 0.5786 GB, free: 67.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003833/0.8489, allocations: 2.829 MB / 0.5814 GB, free: 64.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.851, allocations: 410.5 kB / 0.5818 GB, free: 64.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/0.8903, allocations: 23.95 MB / 0.6052 GB, free: 40.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.8914, allocations: 1.743 MB / 0.6069 GB, free: 38.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001722/0.8931, allocations: 300.8 kB / 0.6072 GB, free: 38.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.8944, allocations: 1.093 MB / 0.6082 GB, free: 36.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8944, allocations: 0 / 0.6082 GB, free: 36.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1966/1.091, allocations: 81.61 MB / 0.6879 GB, free: 3.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.98/23.07, allocations: 3.859 kB / 0.6879 GB, free: 3.715 MB / 494.1 MB " [Timeout remaining time 637] (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: 26.78241129987873]