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.001311/0.001311, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001435/0.001435, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8845/0.8845, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.493e-06/1.493e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.726e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.0116/0.01161, allocations: 9.892 MB / 334.4 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.01666, allocations: 3.474 MB / 337.9 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008734/0.01754, allocations: 43.75 kB / 337.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008619/0.0184, allocations: 0.7063 MB / 338.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.01982, allocations: 1.032 MB / 339.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.02097, allocations: 0.9516 MB / 340.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.02356, allocations: 3.656 MB / 344.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.02425, allocations: 0.5632 MB / 344.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.02621, allocations: 2.012 MB / 346.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009778/0.02719, allocations: 1.235 MB / 348.1 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.02749, allocations: 356 kB / 348.4 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.02786, allocations: 395.9 kB / 348.8 MB, free: 7.473 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.02829, allocations: 0.7397 MB / 349.5 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.02893, allocations: 1.033 MB / 350.6 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.03183, allocations: 4.525 MB / 355.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.03183, allocations: 0 / 355.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.03183, allocations: 3.938 kB / 355.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.106e-05/0.03186, allocations: 0 / 355.1 MB, free: 1.152 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.003579/0.03544, allocations: 3.18 MB / 358.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.03549, allocations: 19.92 kB / 358.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.03574, allocations: 283.7 kB / 358.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/0.03628, allocations: 374.9 kB / 359 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.03789, allocations: 1.4 MB / 360.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.03799, allocations: 158 kB / 360.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.03819, allocations: 212 kB / 360.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.04061, allocations: 1.991 MB / 362.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.04065, allocations: 7.984 kB / 362.7 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.04077, allocations: 84 kB / 362.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.0408, allocations: 55.94 kB / 362.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.0431, allocations: 1.847 MB / 364.7 MB, free: 7.352 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.007231/0.05033, allocations: 6.182 MB / 370.9 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.05251, allocations: 1.971 MB / 372.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.05402, allocations: 1.272 MB / 374.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/0.05411, allocations: 37.98 kB / 374.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.05414, allocations: 60.5 kB / 374.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 3.527e-06/0.05415, allocations: 0 / 374.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=355): time 0.03145/0.0856, allocations: 17.27 MB / 391.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.08565, allocations: 102.1 kB / 391.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.08759, allocations: 2.007 MB / 393.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.08773, allocations: 81.7 kB / 393.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000543/0.08827, allocations: 1.035 MB / 394.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/0.08889, allocations: 1.22 MB / 395.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/0.08949, allocations: 0.4957 MB / 396.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.08957, allocations: 301.1 kB / 396.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.09119, allocations: 1.193 MB / 397.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.0931, allocations: 1.514 MB / 399.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.09643, allocations: 2.851 MB / 402.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.09644, allocations: 0 / 402.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006229/0.1027, allocations: 4.414 MB / 406.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1027, allocations: 11.94 kB / 406.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1027, allocations: 4 kB / 406.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.1053, allocations: 1.347 MB / 408.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.1065, allocations: 0.5227 MB / 408.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.1238, allocations: 19.61 MB / 428.2 MB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.125, allocations: 87.97 kB / 428.3 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.1251, allocations: 104 kB / 428.4 MB, free: 6.312 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.0009388/0.1261, allocations: 0.5912 MB / 429 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.1264, allocations: 282.2 kB / 429.2 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005938/0.1323, allocations: 4.336 MB / 433.6 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.1323, allocations: 36 kB / 433.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1324, allocations: 4 kB / 433.6 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.1324, allocations: 15.94 kB / 433.6 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009605/0.142, allocations: 7.591 MB / 441.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.142, allocations: 4 kB / 441.2 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.1433, allocations: 443.4 kB / 441.7 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/0.1458, allocations: 1.264 MB / 442.9 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.1459, allocations: 71.98 kB / 443 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1823/0.3282, allocations: 18.2 MB / 461.2 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3282, allocations: 9.219 kB / 461.2 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.3357, allocations: 6.022 MB / 467.2 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.3365, allocations: 0.5656 MB / 467.8 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.3367, allocations: 66.7 kB / 467.8 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007685/0.3374, allocations: 90.56 kB / 467.9 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/0.3378, allocations: 274.2 kB / 468.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.3379, allocations: 95.58 kB / 468.3 MB, free: 102.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.339, allocations: 1.389 MB / 469.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.339, allocations: 0 / 469.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0016/0.3406, 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.007051/0.3476, allocations: 6.927 MB / 477.5 MB, free: 94.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004315/0.3519, allocations: 4.23 MB / 481.7 MB, free: 90.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3519, allocations: 3.188 kB / 481.7 MB, free: 90.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.3544, allocations: 2.82 MB / 484.5 MB, free: 87.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.3558, allocations: 411.1 kB / 485 MB, free: 87.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/0.3824, allocations: 23.92 MB / 0.4969 GB, free: 63.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/0.3832, allocations: 1.179 MB / 0.4981 GB, free: 62.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001016/0.3842, allocations: 305.9 kB / 0.4984 GB, free: 62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008675/0.3851, allocations: 1.09 MB / 0.4995 GB, free: 60.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3851, allocations: 0 / 0.4995 GB, free: 60.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09906/0.4842, allocations: 80.1 MB / 0.5777 GB, free: 13.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.78, allocations: 3.938 kB / 0.5777 GB, free: 13.09 MB / 442.7 MB " [Timeout remaining time 648] (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/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_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: 14.2002096734941]