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.0009418/0.0009418, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00101/0.00101, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9326/0.9326, allocations: 177.1 MB / 204.2 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.793e-06/1.793e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.565e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.008474/0.008499, allocations: 9.884 MB / 334.5 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.01494, allocations: 3.486 MB / 337.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.017, allocations: 47.75 kB / 338 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.01828, allocations: 0.7063 MB / 338.7 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.02094, allocations: 1.028 MB / 339.7 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.02265, allocations: 0.9515 MB / 340.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.02637, allocations: 3.651 MB / 344.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008048/0.02717, allocations: 0.5671 MB / 344.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.02928, allocations: 2.015 MB / 346.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.0303, allocations: 1.227 MB / 348.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.03059, allocations: 356 kB / 348.5 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.03099, allocations: 395.9 kB / 348.9 MB, free: 7.531 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.03138, allocations: 0.7435 MB / 349.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.0321, allocations: 1.029 MB / 350.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.03511, allocations: 4.522 MB / 355.2 MB, free: 1.219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.03512, allocations: 4 kB / 355.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.03512, allocations: 3.938 kB / 355.2 MB, free: 1.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.639e-05/0.03517, allocations: 0 / 355.2 MB, free: 1.211 MB / 314.7 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.004233/0.0394, allocations: 3.179 MB / 358.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.03945, allocations: 16.03 kB / 358.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002528/0.0397, allocations: 295.7 kB / 358.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/0.04029, allocations: 362.9 kB / 359 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.04203, allocations: 1.406 MB / 360.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.04214, allocations: 160.1 kB / 360.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.04234, allocations: 208 kB / 360.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.04459, allocations: 1.999 MB / 362.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.04462, allocations: 15.88 kB / 362.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.04474, allocations: 84 kB / 362.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.04477, allocations: 59.94 kB / 362.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.04724, allocations: 1.84 MB / 364.8 MB, free: 7.398 MB / 330.7 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.007071/0.05431, allocations: 6.19 MB / 371 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.05665, allocations: 1.963 MB / 372.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.05815, allocations: 1.272 MB / 374.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.059e-05/0.05824, allocations: 33.98 kB / 374.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.05827, allocations: 60.56 kB / 374.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 4.519e-06/0.05828, allocations: 0 / 374.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=355): time 0.03172/0.09, allocations: 17.27 MB / 391.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.09005, allocations: 90.14 kB / 391.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.09215, allocations: 2.007 MB / 393.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.09229, allocations: 81.7 kB / 393.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004961/0.09278, allocations: 1.042 MB / 394.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/0.09336, allocations: 1.212 MB / 396 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005606/0.09392, allocations: 0.4958 MB / 396.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.09399, allocations: 301.1 kB / 396.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.09546, allocations: 1.197 MB / 398 MB, free: 5.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.09708, allocations: 1.506 MB / 399.5 MB, free: 4.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.1007, allocations: 2.855 MB / 402.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.1007, allocations: 0 / 402.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006616/0.1073, allocations: 4.414 MB / 406.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.1073, allocations: 8 kB / 406.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.1073, allocations: 7.938 kB / 406.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.1105, allocations: 1.354 MB / 408.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.1121, allocations: 0.5149 MB / 408.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/0.1307, allocations: 19.6 MB / 428.2 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.1327, allocations: 87.97 kB / 428.3 MB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.1329, allocations: 108 kB / 428.4 MB, free: 6.371 MB / 394.7 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.001472/0.1344, allocations: 0.5974 MB / 429 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/0.1348, allocations: 290.1 kB / 429.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/0.1411, allocations: 4.328 MB / 433.6 MB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.1412, allocations: 36 kB / 433.7 MB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.1412, allocations: 4 kB / 433.7 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.1412, allocations: 19.88 kB / 433.7 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.1523, allocations: 7.575 MB / 441.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.1523, allocations: 4 kB / 441.3 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.1536, allocations: 451.7 kB / 441.7 MB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/0.1563, allocations: 1.267 MB / 443 MB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005385/0.1569, allocations: 79.97 kB / 443.1 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1752/0.332, allocations: 18.19 MB / 461.2 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.332, allocations: 3.719 kB / 461.2 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/0.34, allocations: 6.027 MB / 467.3 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.3412, allocations: 0.565 MB / 467.8 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.3415, allocations: 61.41 kB / 467.9 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.3424, allocations: 97.86 kB / 468 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005813/0.343, allocations: 273.3 kB / 468.3 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.3431, allocations: 86.56 kB / 468.3 MB, free: 102.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.3444, allocations: 1.391 MB / 469.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3444, allocations: 0 / 469.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002225/0.3466, allocations: 0.8828 MB / 470.6 MB, free: 100.8 MB / 410.7 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.007845/0.3545, allocations: 6.94 MB / 477.6 MB, free: 94.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005017/0.3595, allocations: 4.229 MB / 481.8 MB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.3595, allocations: 4 kB / 481.8 MB, free: 90.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/0.3625, allocations: 2.815 MB / 484.6 MB, free: 87.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.3645, allocations: 408.9 kB / 485 MB, free: 87.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/0.3969, allocations: 23.92 MB / 0.497 GB, free: 63.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.3979, allocations: 1.183 MB / 0.4982 GB, free: 62.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001499/0.3994, allocations: 300.8 kB / 0.4984 GB, free: 62.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009247/0.4004, allocations: 1.098 MB / 0.4995 GB, free: 61.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4004, allocations: 0 / 0.4995 GB, free: 61.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09127/0.4916, allocations: 80.11 MB / 0.5777 GB, free: 13.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.45, allocations: 11.94 kB / 0.5778 GB, free: 13.3 MB / 442.7 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins/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: 13.880350910127163]